Module x509

Module x509 

Source
Expand description

X.509 certificate — reading, inspecting, and building.

§Types

TypeOwned / BorrowedDescription
X509Owned (Arc-like)Certificate, Clone via up_ref
X509NameBorrowed 'certSubject or issuer distinguished name
X509NameEntryBorrowed 'nameOne RDN entry (e.g. CN, O, C)
X509ExtensionBorrowed 'certOne certificate extension
X509NameOwnedOwnedMutable name for certificate builder
X509BuilderOwned builderConstructs a new X.509 certificate

Structs§

BrokenDownTime
A calendar date and time in UTC, as returned by X509::not_before_tm and X509::not_after_tm.
SignatureInfo
Decoded signature algorithm metadata from an X509 certificate.
X509
An X.509 certificate (X509*).
X509Builder
Builder for a new X.509 certificate.
X509Crl
An X.509 certificate revocation list (X509_CRL*).
X509Extension
A borrowed extension within an X509 certificate.
X509Name
A borrowed distinguished name (X509_NAME*) tied to its owning X509.
X509NameEntry
A borrowed entry within an X509Name.
X509NameOwned
An owned, mutable distinguished name (X509_NAME*).
X509Store
An OpenSSL certificate trust store (X509_STORE*).
X509StoreCtx
A chain-verification context (X509_STORE_CTX*).

Functions§

nid_from_short_name
Look up a NID by its short name (e.g. c"sha256", c"rsaEncryption").
nid_from_text
Look up a NID by OID text or short name.
nid_to_long_name
Look up the long name for a NID (e.g. 13"commonName").
nid_to_short_name
Look up the short name for a NID (e.g. 13"CN", 672"SHA256").