Versions in this module Expand all Collapse all v0 v0.1.3 Apr 7, 2019 Changes in this version + const RequestTarget + func NewSigner(prefs []Algorithm, headers []string, scheme SignatureScheme) (Signer, Algorithm, error) + type Algorithm string + const BLAKE2B_256 + const BLAKE2B_384 + const BLAKE2B_512 + const BLAKE2S_256 + const HMAC_BLAKE2B_256 + const HMAC_BLAKE2B_384 + const HMAC_BLAKE2B_512 + const HMAC_BLAKE2S_256 + const HMAC_RIPEMD160 + const HMAC_SHA224 + const HMAC_SHA256 + const HMAC_SHA384 + const HMAC_SHA3_224 + const HMAC_SHA3_256 + const HMAC_SHA3_384 + const HMAC_SHA3_512 + const HMAC_SHA512 + const HMAC_SHA512_224 + const HMAC_SHA512_256 + const RSA_RIPEMD160 + const RSA_SHA224 + const RSA_SHA256 + const RSA_SHA384 + const RSA_SHA512 + type SignatureScheme string + const Authorization + const Signature + type Signer interface + SignRequest func(pKey crypto.PrivateKey, pubKeyId string, r *http.Request) error + SignResponse func(pKey crypto.PrivateKey, pubKeyId string, r http.ResponseWriter) error + type Verifier interface + KeyId func() string + Verify func(pKey crypto.PublicKey, algo Algorithm) error + func NewResponseVerifier(r *http.Response) (Verifier, error) + func NewVerifier(r *http.Request) (Verifier, error)