[][src]Crate gotham_middleware_aws_sig_verify

Structs

AWSSigV4

Re-export aws_sig_verify so users don't have to compute versions. The implementation of the standard AWS SigV4 algorithm.

AWSSigV4Verifier

AWSSigV4Verifier implements middleware for Gotham that implements the AWS SigV4 signing protocol.

IAMAssumedRoleDetails

Re-export aws_sig_verify so users don't have to compute versions.

IAMGroupDetails

Re-export aws_sig_verify so users don't have to compute versions.

IAMRoleDetails

Re-export aws_sig_verify so users don't have to compute versions.

IAMUserDetails

Re-export aws_sig_verify so users don't have to compute versions.

Principal

Re-export aws_sig_verify so users don't have to compute versions. Principal for a given access key

Request

Re-export aws_sig_verify so users don't have to compute versions. A data structure containing the elements of the request (some client-supplied, some service-supplied) involved in the SigV4 verification process.

SignatureError

Re-export aws_sig_verify so users don't have to compute versions. Error returned when an attempt at validating an AWS SigV4 signature fails.

Enums

ErrorKind

Re-export aws_sig_verify so users don't have to compute versions. The possible reasons for an AWS SigV4 signature validation to fail; returned as part of SignatureError.

PrincipalType

Re-export aws_sig_verify so users don't have to compute versions. Principal type

SigningKeyKind

Re-export aws_sig_verify so users don't have to compute versions. The types of signing key available.

Traits

AWSSigV4Algorithm

Re-export aws_sig_verify so users don't have to compute versions. Trait for calculating various attributes of a SigV4 signature according to variants of the SigV4 algorithm.

Functions

canonicalize_uri_path

Re-export aws_sig_verify so users don't have to compute versions. Normalizes the specified URI path, removing redundant slashes and relative path components.

normalize_query_parameters

Re-export aws_sig_verify so users don't have to compute versions. Normalize the query parameters by normalizing the keys and values of each parameter and return a HashMap mapping each key to a vector of values (since it is valid for a query parameters to appear multiple times).

normalize_uri_path_component

Re-export aws_sig_verify so users don't have to compute versions. Normalize the path component according to RFC 3986. This performs the following operations:

Type Definitions

SigningKeyFn

Re-export aws_sig_verify so users don't have to compute versions. The function that returns a signing key of a given type.