Struct yubihsm::StaticKeys [−][src]
pub struct StaticKeys { /* fields omitted */ }
Static Secure Channel keys from which session keys are derived
Methods
impl StaticKeys
[src]
impl StaticKeys
pub fn derive_from_password(
password: &[u8],
salt: &[u8],
iterations: usize
) -> Self
[src]
pub fn derive_from_password(
password: &[u8],
salt: &[u8],
iterations: usize
) -> Self
Derive static_keys keys from a password
pub fn new(key_bytes: &[u8; 32]) -> Self
[src]
pub fn new(key_bytes: &[u8; 32]) -> Self
Create a new keypair from a byte array
Trait Implementations
impl Drop for StaticKeys
[src]
impl Drop for StaticKeys
Auto Trait Implementations
impl Send for StaticKeys
impl Send for StaticKeys
impl Sync for StaticKeys
impl Sync for StaticKeys