Module x509
Available on (crate features
rustls or boring or acme) and crate feature boring only.Expand description
The standard defining the format of public key certificates.
An X509 certificate binds an identity to a public key, and is either
signed by a certificate authority (CA) or self-signed. An entity that gets
a hold of a certificate can both verify your identity (via a CA) and encrypt
data with the included public key. X509 certificates are used in many
Internet protocols, including SSL/TLS, which is the basis for HTTPS,
the secure protocol for browsing the web.
Modules§
- extension
- Add extensions to an
X509certificate or certificate request. - store
- Describe a context in which to verify an
X509certificate. - verify
Structs§
- General
Name - An
X509certificate alternative names. - General
Name Ref - A borrowed reference to a
GeneralName. - X509
- An
X509public key certificate. - X509
Algorithm - An
X509certificate signature algorithm. - X509
Algorithm Ref - A borrowed reference to a
X509Algorithm. - X509
Builder - A builder used to construct an
X509. - X509
Extension - Permit additional fields to be added to an
X509v3 certificate. - X509
Extension Ref - A borrowed reference to a
X509Extension. - X509
Name - The names of an
X509certificate. - X509
Name Builder - A builder used to construct an
X509Name. - X509
Name Entries - A type to destructure and examine an
X509Name. - X509
Name Entry - A name entry associated with a
X509Name. - X509
Name Entry Ref - A borrowed reference to a
X509NameEntry. - X509
Name Ref - A borrowed reference to a
X509Name. - X509
Object - An
X509or an X509 certificate revocation list. - X509
Object Ref - A borrowed reference to a
X509Object. - X509Ref
- A borrowed reference to a
X509. - X509Req
- An
X509certificate request. - X509
ReqBuilder - A builder used to construct an
X509Req. - X509
ReqRef - A borrowed reference to a
X509Req. - X509
Store Context - An
X509certificate store context. - X509
Store Context Ref - A borrowed reference to a
X509StoreContext. - X509
Verify Error - X509v3
Context - A context object required to construct certain
X509extension values.
Type Aliases§
- X509
Verify Result - The result of peer certificate verification.