Struct ssh_key::private::RsaKeypair
source · pub struct RsaKeypair {
pub public: RsaPublicKey,
pub private: RsaPrivateKey,
}
Expand description
RSA private/public keypair.
Fields§
§public: RsaPublicKey
Public key.
private: RsaPrivateKey
Private key.
Trait Implementations§
source§impl Clone for RsaKeypair
impl Clone for RsaKeypair
source§fn clone(&self) -> RsaKeypair
fn clone(&self) -> RsaKeypair
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 RsaKeypair
impl Debug for RsaKeypair
source§impl From<&RsaKeypair> for RsaPublicKey
impl From<&RsaKeypair> for RsaPublicKey
source§fn from(keypair: &RsaKeypair) -> RsaPublicKey
fn from(keypair: &RsaKeypair) -> RsaPublicKey
Converts to this type from the input type.
source§impl From<RsaKeypair> for KeypairData
impl From<RsaKeypair> for KeypairData
source§fn from(keypair: RsaKeypair) -> KeypairData
fn from(keypair: RsaKeypair) -> KeypairData
Converts to this type from the input type.
source§impl From<RsaKeypair> for PrivateKey
impl From<RsaKeypair> for PrivateKey
source§fn from(keypair: RsaKeypair) -> PrivateKey
fn from(keypair: RsaKeypair) -> PrivateKey
Converts to this type from the input type.
source§impl From<RsaKeypair> for RsaPublicKey
impl From<RsaKeypair> for RsaPublicKey
source§fn from(keypair: RsaKeypair) -> RsaPublicKey
fn from(keypair: RsaKeypair) -> RsaPublicKey
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RsaKeypair
impl RefUnwindSafe for RsaKeypair
impl Send for RsaKeypair
impl Sync for RsaKeypair
impl Unpin for RsaKeypair
impl UnwindSafe for RsaKeypair
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
)