enum PrivateKeyData {
Curve25519(Vec<u8>),
EcP224(Vec<u8>),
EcP256(Vec<u8>),
EcP384(Vec<u8>),
EcP521(Vec<u8>),
Rsa {
prime_p: Vec<u8>,
prime_q: Vec<u8>,
public_exponent: Vec<u8>,
},
}
Expand description
The data for private key import
Variants§
Curve25519(Vec<u8>)
Data for KeyType::Curve25519
EcP224(Vec<u8>)
Data for KeyType::EcP224
EcP256(Vec<u8>)
Data for KeyType::EcP256
EcP384(Vec<u8>)
Data for KeyType::EcP384
EcP521(Vec<u8>)
Data for KeyType::EcP521
Rsa
Data for KeyType::Rsa
Auto Trait Implementations§
impl Freeze for PrivateKeyData
impl RefUnwindSafe for PrivateKeyData
impl Send for PrivateKeyData
impl Sync for PrivateKeyData
impl Unpin for PrivateKeyData
impl UnwindSafe for PrivateKeyData
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