Struct libp2p_core::identity::rsa::Keypair [−][src]
pub struct Keypair(_);
Expand description
An RSA keypair.
Implementations
Decode an RSA keypair from a DER-encoded private key in PKCS#8 PrivateKeyInfo format (i.e. unencrypted) as defined in RFC5208.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Keypairimpl UnwindSafe for KeypairBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V