Struct tcp_stream::OwnedIdentity
source · pub struct OwnedIdentity {
pub der: Vec<u8>,
pub password: String,
}Expand description
Holds PKCS#12 DER-encoded identity and decryption password
Fields§
§der: Vec<u8>PKCS#12 DER-encoded identity
password: StringDecryption password
Implementations§
Trait Implementations§
source§impl Debug for OwnedIdentity
impl Debug for OwnedIdentity
source§impl PartialEq<OwnedIdentity> for OwnedIdentity
impl PartialEq<OwnedIdentity> for OwnedIdentity
source§fn eq(&self, other: &OwnedIdentity) -> bool
fn eq(&self, other: &OwnedIdentity) -> bool
This method tests for
self and other values to be equal, and is used
by ==.