Struct yubihsm::wrap::WrapNonce[][src]

pub struct WrapNonce(pub [u8; 13]);

Nonces for AES-CCM keywrapping

Methods

impl WrapNonce
[src]

Generate a random WrapNonce

Trait Implementations

impl Debug for WrapNonce
[src]

Formats the value using the given formatter. Read more

impl Clone for WrapNonce
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl AsRef<[u8]> for WrapNonce
[src]

Important traits for &'a [u8]

Performs the conversion.

impl From<[u8; 13]> for WrapNonce
[src]

Performs the conversion.

impl Serialize for WrapNonce
[src]

Serialize this value into the given Serde serializer. Read more

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

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for WrapNonce

impl Sync for WrapNonce