Trait ring::aead::BoundKey [−][src]
pub trait BoundKey<N: NonceSequence>: Debug { fn new(key: UnboundKey, nonce_sequence: N) -> Self; fn algorithm(&self) -> &'static Algorithm; }
Expand description
An AEAD key bound to a nonce sequence.
Required methods
fn new(key: UnboundKey, nonce_sequence: N) -> Self
[src]
fn new(key: UnboundKey, nonce_sequence: N) -> Self
[src]Constructs a new key from the given UnboundKey
and NonceSequence
.
Implementors
impl<N: NonceSequence> BoundKey<N> for OpeningKey<N>
[src]
impl<N: NonceSequence> BoundKey<N> for OpeningKey<N>
[src]impl<N: NonceSequence> BoundKey<N> for SealingKey<N>
[src]
impl<N: NonceSequence> BoundKey<N> for SealingKey<N>
[src]