Struct yubihsm::command::hmac::HMACTag[][src]

pub struct HMACTag(pub Vec<u8>);

HMAC tags

Methods

impl HMACTag
[src]

Create a new HMAC tag

Important traits for Vec<u8>

Unwrap inner byte vector

Get length of the tag

Important traits for &'a [u8]

Get slice of the inner byte vector

Trait Implementations

impl Debug for HMACTag
[src]

Formats the value using the given formatter. Read more

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

Important traits for &'a [u8]

Performs the conversion.

impl From<Vec<u8>> for HMACTag
[src]

Performs the conversion.

impl<'a> From<&'a [u8]> for HMACTag
[src]

Performs the conversion.

impl Into<Vec<u8>> for HMACTag
[src]

Important traits for Vec<u8>

Performs the conversion.

Auto Trait Implementations

impl Send for HMACTag

impl Sync for HMACTag