Enum tuf::crypto::SignatureScheme [] [src]

pub enum SignatureScheme {
    Ed25519,
    RsaSsaPssSha256,
    RsaSsaPssSha512,
}

Cryptographic signature schemes.

Variants

RSASSA-PSS calculated over SHA256

RSASSA-PSS calculated over SHA512

Trait Implementations

impl Debug for SignatureScheme
[src]

Formats the value using the given formatter.

impl Clone for SignatureScheme
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for SignatureScheme
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl ToString for SignatureScheme
[src]

Converts the given value to a String. Read more

impl FromStr for SignatureScheme
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl Serialize for SignatureScheme
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for SignatureScheme
[src]

Deserialize this value from the given Serde deserializer. Read more