Enum yubihsm::algorithm::MgfAlg[][src]

#[repr(u8)]
pub enum MgfAlg { SHA1, SHA256, SHA384, SHA512, }

Mask generating functions for RSASSA-PSS

Variants

mgf-sha1

mgf-sha256

mgf-sha384

mgf-sha512

Methods

impl MgfAlg
[src]

Convert an unsigned byte tag into an MgfAlgorithm (if valid)

Serialize algorithm ID as a byte

Trait Implementations

impl Copy for MgfAlg
[src]

impl Clone for MgfAlg
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MgfAlg
[src]

Formats the value using the given formatter. Read more

impl Eq for MgfAlg
[src]

impl PartialEq for MgfAlg
[src]

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

This method tests for !=.

impl From<MgfAlg> for Algorithm
[src]

Performs the conversion.

impl Serialize for MgfAlg
[src]

Serialize this value into the given Serde serializer. Read more

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

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for MgfAlg

impl Sync for MgfAlg