Struct libp2p_websocket::tls::PrivateKey
source · pub struct PrivateKey(_);
Expand description
Private key, DER-encoded ASN.1 in either PKCS#8 or PKCS#1 format.
Implementations§
Trait Implementations§
source§impl Clone for PrivateKey
impl Clone for PrivateKey
source§fn clone(&self) -> PrivateKey
fn clone(&self) -> PrivateKey
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 more