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§
- X.509 Certificate object definitions and operations
- X.509 errors
- X.509 Extensions objects and types
- X.509 helper objects definitions and registry
- Decoding functions for PEM-encoded data
- X.509 objects and types
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
- LogID as defined in RFC6962 Section 3.2
- Certificate Transparency Version as defined in 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.
- Representation of PEM data
- Iterator over PEM-encapsulated blocks
- 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
- Certification Signing Request (CSR)
- Certification Request Info structure
- 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§
- Base trait for DER object parsers
Functions§
- Formats a slice to a colon-separated hex string (for ex
01:02:ff:ff
) - Return the abbreviation (for ex. CN for Common Name), or if not found, the OID short name
- Returns the description corresponding to the OID
- Returns the short name corresponding to the OID
- Return a reference to the default registry of known OIDs
- parse_
crl_ der Deprecated Parse a DER-encoded X.509 v2 CRL, and return the remaining of the input and the built object. - Parses as single Signed Certificate Timestamp entry
- Parses a list of Signed Certificate Timestamp entries
- Parse a DER-encoded X.509 Certificate, and return the remaining of the input and the built object.
- Parse a DER-encoded X.509 v2 CRL, and return the remaining of the input and the built object.
- parse_
x509_ der Deprecated Parse a DER-encoded X.509 Certificate, and return the remaining of the input and the built - Read a PEM-encoded structure, and decode the base64 data
- pem_
to_ der Deprecated
Type Aliases§
- Holds the result of parsing functions (X.509)