Crate digest_headers [] [src]

Digest Header, a simple library for verifying the content of HTTP Requests.

This library doesn't offer any verification of identity, it only ensures that the content of the request matches the signature in the Digest header of the request. If you want to verify that a request has not been tampered with, it is best to use this library in conjunction with http signatures. This way, the Headers are signed with a key, validating identity and authenticity, and the Digest header validates the body of the request.

Modules

prelude

The prelude module provides useful traits for working with Digest headers.

Structs

Digest

Defines the Digest type.

Enums

Error

The Error type

ShaSize

Defines variants for the size of SHA hash.