Struct ssh_key::private::DsaKeypair
source · [−]pub struct DsaKeypair {
pub public: DsaPublicKey,
pub private: DsaPrivateKey,
}Available on crate feature
alloc only.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 moresourceimpl ConstantTimeEq for DsaKeypair
Available on crate feature subtle only.
impl ConstantTimeEq for DsaKeypair
Available 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
Converts to this type from the input type.
sourceimpl From<DsaKeypair> for DsaPublicKey
impl From<DsaKeypair> for DsaPublicKey
sourcefn from(keypair: DsaKeypair) -> DsaPublicKey
fn from(keypair: DsaKeypair) -> DsaPublicKey
Converts to this type from the input type.
sourceimpl From<DsaKeypair> for KeypairData
impl From<DsaKeypair> for KeypairData
sourcefn from(keypair: DsaKeypair) -> KeypairData
fn from(keypair: DsaKeypair) -> KeypairData
Converts to this type from the input type.
sourceimpl From<DsaKeypair> for PrivateKey
impl From<DsaKeypair> for PrivateKey
sourcefn from(keypair: DsaKeypair) -> PrivateKey
fn from(keypair: DsaKeypair) -> PrivateKey
Converts to this type from the input type.
sourceimpl PartialEq<DsaKeypair> for DsaKeypair
Available on crate feature subtle only.
impl PartialEq<DsaKeypair> for DsaKeypair
Available on crate feature
subtle only.impl Eq for DsaKeypair
Available 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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