[][src]Module http_signature_normalization_http::prelude

Export useful types signing and verifying requests

Re-exports

pub use crate::create::Signed;
pub use crate::create::Unsigned;
pub use crate::Config;
pub use crate::PrepareVerifyError;

Structs

HeaderMap

A set of HTTP headers

InvalidHeaderValue

A possible error when converting a HeaderValue from a string or byte slice.

Method

The Request Method (VERB)

ParseSignatureError

The error produced when parsing the HTTPT Signature fails, including the name of the field that was invalid.

ParsedHeader

The successful result of parsing a Signature or Authorization header

PathAndQuery

Represents the path component of a URI

ToStrError

A possible error when converting a HeaderValue to a string representation.

Unvalidated

The Unvalidated stage

Unverified

The Unverified step of the verification process

Enums

Algorithm

Kinds of algorithms

DeprecatedAlgorithm

Algorithms that may be present in an HTTP Signature's algorithm field, but are considered deprecated due to security issues

ValidateError

Kinds of errors for validating a request