Struct rustls::PrivateKey [−][src]
This type contains a private key by value.
The private key must be DER-encoded ASN.1 in either PKCS#8 or PKCS#1 format.
rustls::pemfile::pkcs8_private_keys or rustls::pemfile::rsa_private_keys
could be used to extract private keys from a PEM file in these formats.
Trait Implementations
impl Clone for PrivateKey[src]
impl Clone for PrivateKey[src]fn clone(&self) -> PrivateKey[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl PartialEq<PrivateKey> for PrivateKey[src]
impl PartialEq<PrivateKey> for PrivateKey[src]