Enum http_signatures::ShaSize [] [src]

pub enum ShaSize {
    TwoFiftySix,
    ThreeEightyFour,
    FiveTwelve,
}

Variations of the Sha hashing function.

This stuct is used to tell the RSA and HMAC signature functions how big the sha hash should be. It currently offers three variations.

Variants

SHA256

SHA384

SHA512

Trait Implementations

impl Debug for ShaSize
[src]

[src]

Formats the value using the given formatter.

impl Clone for ShaSize
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more