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
pkeyb64
profile
Certificate profiles
x509b64

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 (CSR)
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.
Extension
Extension as defined in RFC 5280 Section 4.1.2.9.
GeneralizedTime
ASN.1 GeneralizedTime type.
Ia5String
ASN.1 IA5String type.
KeyUsage
KeyUsage as defined in RFC 5280 Section 4.2.1.3.
Name
X.501 Name as defined in RFC 5280 Section 4.1.2.4. X.501 Name is used to represent distinguished names.
ObjectIdentifier
Object identifier (OID).
OctetString
ASN.1 OCTET STRING type: owned form.
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§

CertBuilderError
Error type
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.
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
Profile
Profile for certificates
SignatureBitStringEncoding
Returns the BitString encoding of the signature.

Functions§

uuid_to_serial
x509_digest_cert_sha256
x509_digest_public_key_sha256
x509_verify_signature

Type Aliases§

Certificate
X.509 certificates are defined in RFC 5280 Section 4.1.
SubjectPublicKeyInfoOwned
SubjectPublicKeyInfo with Any algorithm parameters, and BitString params.
SubjectPublicKeyInfoRef
SubjectPublicKeyInfo with AnyRef algorithm parameters, and BitStringRef params.
TbsCertificate
X.509 TbsCertificate as defined in [RFC 5280 Section 4.1]