Struct tcp_stream::OwnedTLSConfig [−][src]
pub struct OwnedTLSConfig {
pub identity: Option<OwnedIdentity>,
pub cert_chain: Option<String>,
}
Expand description
Holds extra TLS configuration
Fields
identity: Option<OwnedIdentity>
Use for client certificate authentication
cert_chain: Option<String>
The custom certificates chain in PEM format
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.