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: DsaPublicKeyPublic key.
private: DsaPrivateKeyPrivate key.
Trait Implementations
sourceimpl Clone for DsaKeypair
impl Clone for DsaKeypair
sourcefn clone(&self) -> DsaKeypair
fn clone(&self) -> DsaKeypair
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl ConstantTimeEq for DsaKeypair
This is supported on crate feature subtle only.
impl ConstantTimeEq for DsaKeypair
This is supported on crate feature
subtle only.sourceimpl Debug for DsaKeypair
impl Debug for DsaKeypair
sourceimpl From<&'_ DsaKeypair> for DsaPublicKey
impl From<&'_ DsaKeypair> for DsaPublicKey
sourcefn from(keypair: &DsaKeypair) -> DsaPublicKey
fn from(keypair: &DsaKeypair) -> DsaPublicKey
Performs the conversion.
sourceimpl From<DsaKeypair> for DsaPublicKey
impl From<DsaKeypair> for DsaPublicKey
sourcefn from(keypair: DsaKeypair) -> DsaPublicKey
fn from(keypair: DsaKeypair) -> DsaPublicKey
Performs the conversion.
sourceimpl PartialEq<DsaKeypair> for DsaKeypair
This is supported on crate feature subtle only.
impl PartialEq<DsaKeypair> for DsaKeypair
This is supported on crate feature
subtle only.impl Eq for DsaKeypair
This is supported on crate feature
subtle only.Auto Trait Implementations
impl RefUnwindSafe for DsaKeypair
impl Send for DsaKeypair
impl Sync for DsaKeypair
impl Unpin for DsaKeypair
impl UnwindSafe for DsaKeypair
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more