Enum yubihsm::algorithm::EcdsaAlg[][src]

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

Valid algorithms for asymmetric keys

Variants

ecdsa-sha1

ecdsa-sha256

ecdsa-sha384

ecdsa-sha512

Methods

impl EcdsaAlg
[src]

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

Serialize algorithm ID as a byte

Trait Implementations

impl Copy for EcdsaAlg
[src]

impl Clone for EcdsaAlg
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for EcdsaAlg
[src]

Formats the value using the given formatter. Read more

impl Eq for EcdsaAlg
[src]

impl PartialEq for EcdsaAlg
[src]

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

This method tests for !=.

impl From<EcdsaAlg> for Algorithm
[src]

Performs the conversion.

impl Serialize for EcdsaAlg
[src]

Serialize this value into the given Serde serializer. Read more

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

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for EcdsaAlg

impl Sync for EcdsaAlg