Struct botan::KeySpec[][src]

pub struct KeySpec { /* fields omitted */ }

Specifies valid keylengths for symmetric ciphers/MACs

Methods

impl KeySpec
[src]

Return true if the specified key length is valid for this object

Return the minimum supported keylength

Return the maximum supported keylength

Return the required multiple of the keylength

That is each key must be N*keylength_multiple() for some N

Auto Trait Implementations

impl Send for KeySpec

impl Sync for KeySpec