Struct ssh_key::private::DsaKeypair
source · pub struct DsaKeypair {
pub public: DsaPublicKey,
pub private: DsaPrivateKey,
}
Expand description
Digital Signature Algorithm (DSA) private/public keypair.
Fields§
§public: DsaPublicKey
Public key.
private: DsaPrivateKey
Private key.
Trait Implementations§
source§impl Clone for DsaKeypair
impl Clone for DsaKeypair
source§fn clone(&self) -> DsaKeypair
fn clone(&self) -> DsaKeypair
Returns a copy 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 DsaKeypair
impl Debug for DsaKeypair
source§impl From<&DsaKeypair> for DsaPublicKey
impl From<&DsaKeypair> for DsaPublicKey
source§fn from(keypair: &DsaKeypair) -> DsaPublicKey
fn from(keypair: &DsaKeypair) -> DsaPublicKey
Converts to this type from the input type.
source§impl From<DsaKeypair> for DsaPublicKey
impl From<DsaKeypair> for DsaPublicKey
source§fn from(keypair: DsaKeypair) -> DsaPublicKey
fn from(keypair: DsaKeypair) -> DsaPublicKey
Converts to this type from the input type.
source§impl From<DsaKeypair> for KeypairData
impl From<DsaKeypair> for KeypairData
source§fn from(keypair: DsaKeypair) -> KeypairData
fn from(keypair: DsaKeypair) -> KeypairData
Converts to this type from the input type.
source§impl From<DsaKeypair> for PrivateKey
impl From<DsaKeypair> for PrivateKey
source§fn from(keypair: DsaKeypair) -> PrivateKey
fn from(keypair: DsaKeypair) -> PrivateKey
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DsaKeypair
impl RefUnwindSafe for DsaKeypair
impl Send for DsaKeypair
impl Sync for DsaKeypair
impl Unpin for DsaKeypair
impl UnwindSafe for DsaKeypair
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)