pub enum SshkdfKeyType {
InitialIvClientToServer,
InitialIvServerToClient,
EncryptionKeyClientToServer,
EncryptionKeyServerToClient,
IntegrityKeyClientToServer,
IntegrityKeyServerToClient,
}Expand description
Purpose codes for SSH key derivation (RFC 4253 §7.2).
Variants§
InitialIvClientToServer
Initial IV, client to server.
InitialIvServerToClient
Initial IV, server to client.
EncryptionKeyClientToServer
Encryption key, client to server.
EncryptionKeyServerToClient
Encryption key, server to client.
IntegrityKeyClientToServer
Integrity key, client to server.
IntegrityKeyServerToClient
Integrity key, server to client.
Trait Implementations§
Source§impl Clone for SshkdfKeyType
impl Clone for SshkdfKeyType
Source§fn clone(&self) -> SshkdfKeyType
fn clone(&self) -> SshkdfKeyType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SshkdfKeyType
impl Debug for SshkdfKeyType
Source§impl PartialEq for SshkdfKeyType
impl PartialEq for SshkdfKeyType
impl Copy for SshkdfKeyType
impl Eq for SshkdfKeyType
impl StructuralPartialEq for SshkdfKeyType
Auto Trait Implementations§
impl Freeze for SshkdfKeyType
impl RefUnwindSafe for SshkdfKeyType
impl Send for SshkdfKeyType
impl Sync for SshkdfKeyType
impl Unpin for SshkdfKeyType
impl UnwindSafe for SshkdfKeyType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more