Skip to main content
This is unreleased documentation for the main (development) branch of crypto-glue.

Module x509

Module x509 

Source

Modules§

oiddb
OID Names Database

Structs§

AccessDescription
AccessDescription as defined in RFC 5280 Section 4.2.2.1.
AlgorithmIdentifier
X.509 AlgorithmIdentifier as defined in RFC 5280 Section 4.1.1.2.
AuthorityInfoAccessSyntax
AuthorityInfoAccessSyntax as defined in RFC 5280 Section 4.2.2.1.
AuthorityKeyIdentifier
AuthorityKeyIdentifier as defined in RFC 5280 Section 4.2.1.1.
BasicConstraints
BasicConstraints as defined in RFC 5280 Section 4.2.1.9.
BitString
Owned form of ASN.1 BIT STRING type.
CertificateBuilder
X509 Certificate builder
CertificateRequest
PKCS#10 CertificationRequest as defined in RFC 2986 Section 4.
CertificateRequestBuilder
Builder for X509 Certificate Requests
CrlDistributionPoints
CrlDistributionPoints as defined in RFC 5280 Section 4.2.1.13.
DistributionPoint
DistributionPoint as defined in RFC 5280 Section 4.2.1.13.
ExtendedKeyUsage
ExtKeyUsageSyntax as defined in RFC 5280 Section 4.2.1.12.
Ia5String
ASN.1 IA5String type.
KeyUsage
KeyUsage as defined in RFC 5280 Section 4.2.1.3.
ObjectIdentifier
Object identifier (OID).
OtherName
OtherName as defined in RFC 5280 Section 4.2.1.6.
SerialNumber
[RFC 5280 Section 4.1.2.2.] Serial Number
SubjectAltName
SubjectAltName as defined in RFC 5280 Section 4.2.1.6.
SubjectKeyIdentifier
SubjectKeyIdentifier as defined in RFC 5280 Section 4.2.1.2.
Validity
X.501 Validity as defined in RFC 5280 Section 4.1.2.5
X509Display
X509Store

Enums§

DistributionPointName
DistributionPointName as defined in RFC 5280 Section 4.2.1.13.
GeneralName
GeneralName as defined in RFC 5280 Section 4.2.1.6.
KeyUsages
Key usage flags as defined in RFC 5280 Section 4.2.1.3.
Profile
The type of certificate to build
Time
X.501 Time as defined in RFC 5280 Section 4.1.2.5.
Version
Certificate Version as defined in RFC 5280 Section 4.1.
X509VerificationError

Traits§

AssociatedOid
A trait which associates an OID with a type.
Builder
Trait for X509 builders
SignatureBitStringEncoding
Returns the BitString encoding of the signature.

Functions§

uuid_to_serial
x509_digest_sha256
x509_verify_signature

Type Aliases§

Certificate
X.509 certificates are defined in RFC 5280 Section 4.1.
Name
X.501 Name as defined in RFC 5280 Section 4.1.2.4. X.501 Name is used to represent distinguished names.
SubjectPublicKeyInfoOwned
SubjectPublicKeyInfo with Any algorithm parameters, and BitString params.