[][src]Trait ring::aead::BoundKey

pub trait BoundKey<N: NonceSequence>: Debug {
    pub fn new(key: UnboundKey, nonce_sequence: N) -> Self;
pub fn algorithm(&self) -> &'static Algorithm; }

An AEAD key bound to a nonce sequence.

Required methods

pub fn new(key: UnboundKey, nonce_sequence: N) -> Self[src]

Constructs a new key from the given UnboundKey and NonceSequence.

pub fn algorithm(&self) -> &'static Algorithm[src]

The key's AEAD algorithm.

Loading content...

Implementors

impl<N: NonceSequence> BoundKey<N> for OpeningKey<N>[src]

impl<N: NonceSequence> BoundKey<N> for SealingKey<N>[src]

Loading content...