Crate http_sign[][src]

Modules

request

Structs

EcdsaSha256Deprecated
HmacSha256Deprecated
Hs2019
RsaSha256Deprecated

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 (request-target), (created), and (expires). The list of signature elements determines which parts of the HTTP message are protected by the signature. The order of signature elements that is chosen is also important in that it determines the order in which the signature input string is formed.

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