logo
pub trait ToPrivateKey {
    fn to_pkcs8_der(&self) -> Result<PrivateKeyDocument>;
}
Expand description

Serialize a private key object to a PKCS#8 encoded document.

Required Methods

Serialize a PrivateKeyDocument containing a PKCS#8-encoded private key.

Implementors