Enum openssh_keys::Data
source · pub enum Data {
Rsa {
exponent: Vec<u8>,
modulus: Vec<u8>,
},
Dsa {
p: Vec<u8>,
q: Vec<u8>,
g: Vec<u8>,
pub_key: Vec<u8>,
},
Ed25519 {
key: Vec<u8>,
},
Ed25519Sk {
key: Vec<u8>,
application: Vec<u8>,
},
Ecdsa {
curve: Curve,
key: Vec<u8>,
},
EcdsaSk {
curve: Curve,
key: Vec<u8>,
application: Vec<u8>,
},
}
Expand description
Data is the representation of the data section of an ssh public key. it is an enum with all the different supported key algorithms.
Variants§
Trait Implementations§
source§impl PartialEq<Data> for Data
impl PartialEq<Data> for Data
impl Eq for Data
impl StructuralEq for Data
impl StructuralPartialEq for Data
Auto Trait Implementations§
impl RefUnwindSafe for Data
impl Send for Data
impl Sync for Data
impl Unpin for Data
impl UnwindSafe for Data
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