Enum yubihsm::algorithm::OpaqueAlg[][src]

#[repr(u8)]
pub enum OpaqueAlg { DATA, X509_CERT, }

Valid algorithms for opaque data

Variants

Arbitrary opaque data

X.509 certificates

Methods

impl OpaqueAlg
[src]

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

Serialize algorithm ID as a byte

Trait Implementations

impl Copy for OpaqueAlg
[src]

impl Clone for OpaqueAlg
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for OpaqueAlg
[src]

Formats the value using the given formatter. Read more

impl Eq for OpaqueAlg
[src]

impl PartialEq for OpaqueAlg
[src]

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

This method tests for !=.

impl From<OpaqueAlg> for Algorithm
[src]

Performs the conversion.

impl Serialize for OpaqueAlg
[src]

Serialize this value into the given Serde serializer. Read more

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

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for OpaqueAlg

impl Sync for OpaqueAlg