pub enum SshKeyType {
Ed25519,
Rsa,
}Expand description
SSH key types supported by ssh-vault
Variants§
Ed25519
Ed25519 keys using X25519 Diffie-Hellman and ChaCha20-Poly1305
Rsa
RSA keys using RSA-OAEP and AES-256-GCM
Trait Implementations§
Source§impl Debug for SshKeyType
impl Debug for SshKeyType
Source§impl PartialEq for SshKeyType
impl PartialEq for SshKeyType
impl Eq for SshKeyType
impl StructuralPartialEq for SshKeyType
Auto Trait Implementations§
impl Freeze for SshKeyType
impl RefUnwindSafe for SshKeyType
impl Send for SshKeyType
impl Sync for SshKeyType
impl Unpin for SshKeyType
impl UnwindSafe for SshKeyType
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.