Trait askar_crypto::alg::HasKeyAlg[][src]

pub trait HasKeyAlg: Debug {
    fn algorithm(&self) -> KeyAlg;
}
Expand description

A trait for accessing the algorithm of a key, used when converting to generic AnyKey instances.

Required methods

Get the corresponding key algorithm.

Implementors