Struct rustls::Certificate [−][src]
Expand description
This type contains a single certificate by value.
The certificate must be DER-encoded X.509.
rustls::pemfile::certs
function can be used to parse a PEM file.
Tuple Fields
0: Vec<u8>
Trait Implementations
Decode yourself by fiddling with the Reader
.
Return Some if it worked, None if not. Read more
Convenience function to get the results of encode()
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Certificate
impl Send for Certificate
impl Sync for Certificate
impl Unpin for Certificate
impl UnwindSafe for Certificate
Blanket Implementations
Mutably borrows from an owned value. Read more