Struct rustls::Certificate [−][src]
Expand description
This type contains a single certificate by value.
The certificate must be DER-encoded X.509.
The rustls-pemfile
crate 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 !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
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