Module x509
Available on crate feature
mtls
only.Expand description
Lower-level X.509 types re-exported from
x509_parser
.
Lack of documentation is directly inherited from the source crate. Prefer to use Rocket’s wrappers when possible.
Modules§
- Basic Encoding Rules (BER) objects and parser
- Distinguished Encoding Rules (DER) objects and parser
Structs§
- An ASN.1 timestamp.
- Algorithm identifier
- A generic attribute type and value
- Identifies whether the subject of the certificate is a CA, and the max validation depth.
- Basic extension structure, used in search results
- An X.509 v2 Certificate Revocation List (CRL).
- CtExtensions as defined in [RFC6962 Section 3.2] (https://datatracker.ietf.org/doc/html/rfc6962#section-3.2)
- LogID as defined in [RFC6962 Section 3.2] (https://datatracker.ietf.org/doc/html/rfc6962#section-3.2)
- Certificate Transparency Version as defined in [RFC6962 Section 3.2] (https://datatracker.ietf.org/doc/html/rfc6962#section-3.2)
- Section 3.1 of rfc 5272
- Represents the structure used in the name constraints extensions. The fields minimum and maximum are not supported (openssl also has no support).
- An error that can occur while converting an OID to a Nid.
- A Relative Distinguished Name element.
- The sequence TBSCertList contains information about the certificates that have been revoked by the CA that issued the CRL.
- The sequence
TBSCertificate
contains information associated with the subject of the certificate and the CA that issued it. TbsCertificate
parser builder- An X.509 v3 Certificate.
- X.509 Certificate parser
- Attributes for Certification Request
- X.509 version 3 extension
X509Extension
parser builder- X.509 Name (as used in
Issuer
andSubject
fields) - The version of the encoded certificate.
Enums§
- Represents a GeneralName as defined in RFC5280. There is no support X.400 addresses and EDIPartyName.
- An error that can occur while parsing or validating a certificate.
- Attributes for Certification Request
- An error that can occur while parsing or validating a certificate.
Traits§
- Parse a DER-encoded object, and return the remaining of the input and the built object.
Functions§
- Parses as single Signed Certificate Timestamp entry
- Parses a list of Signed Certificate Timestamp entries
Type Aliases§
- Holds the result of parsing functions (X.509)