Crate http_sign[−][src]
Modules
request |
Structs
EcdsaSha256 | Deprecated The “ecdsa-sha256” signature algorithm. Deprecated by the standard because it reveals which hash and digest algorithm is used. |
HmacSha256 | Deprecated The “hmac-sha256” signature algorithm. Deprecated by the standard because it reveals which hash and digest algorithm is used. |
Hs2019 | The “hs2019” signature algorithm. This is the only non-deprecated algorithm. Unlike the other algorithms, the hash and digest functions are not implied by the choice of this signature algorithm. Instead, the hash and digest functions are chosen based on the key used. RSA, HMAC, and ECDSA keys are all supported. |
RsaSha256 | Deprecated The “rsa-sha256” signature algorithm. Deprecated by the standard because it reveals which hash and digest algorithm is used. |
Enums
SignError | |
SignatureElement | An element that contributes to the signature calculation. Standard HTTP headers may
be included in the signature, as well as special non-header fields such as
|
SignatureScheme | Which of the two signature schemes defined by the standard will be used. The signature scheme determines which HTTP header the signature will be placed into, as well as the format of that header. |
Traits
SignatureAlgorithm | The signature algorithm used to generate the HTTP message signature. The signature algorithm determines determines the hashing and signing algorithms used in computing the signature. Technically, it also determines the canonicalization algorithm used to build the string to sign, but as all signature algorithms share the same canonicalization algorithm, this trait does not include that feature. |
Functions
sign |