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.
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 Certificateimpl Send for Certificateimpl Sync for Certificateimpl Unpin for Certificateimpl UnwindSafe for CertificateBlanket Implementations
Mutably borrows from an owned value. Read more