[][src]Struct http_signatures::SignedHeader

pub struct SignedHeader {
    pub key_id: String,
    // some fields omitted
}

The SignedHeader struct is the direct reasult of reading in the Authorization or Signature header from a given request.

It contains the keys to the request's headers in the correct order for recreating the signing string, the algorithm used to create the signature, and the signature itself.

It also contains the key_id.

Fields

Methods

impl SignedHeader
[src]

Try to create an SignedHeader from a given String.

Try to verify the current SignedHeader.

Trait Implementations

impl Debug for SignedHeader
[src]

impl FromStr for SignedHeader
[src]

The associated error which can be returned from parsing.

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]