View Source X509.CRL.Entry (X509 v0.8.7)
CRL entries identify revoked certificates and contain metadata about the revocation.
Link to this section Summary
Functions
Looks up a specific extension in a CRL entry.
Returns the list of extensions in a CRL entry.
Returns a new CRL entry for the given certificate or serial number. The
revocation date must be specified, and additional metadata may be specified
as one or more X509.CRL.Extension
entries.
Returns the certificate recocation date for a CRL entry.
Returns the certificate serial number for a CRL entry.
Link to this section Types
@opaque t()
:TBSCertList_revokedCertificates_SEQOF
record, as used in Erlang's
:public_key
module
Link to this section Functions
@spec extension( t(), X509.CRL.Extension.extension_id() | :public_key.oid() ) :: X509.CRL.Extension.t() | nil
Looks up a specific extension in a CRL entry.
The desired extension can be specified as an atom or an OID value. Returns
nil
if the specified extension is not present in the CRL entry.
@spec extensions(t()) :: [X509.CRL.Extension.t()]
Returns the list of extensions in a CRL entry.
@spec new(X509.Certificate.t() | pos_integer(), DateTime.t(), [X509.CRL.Extension.t()]) :: t()
Returns a new CRL entry for the given certificate or serial number. The
revocation date must be specified, and additional metadata may be specified
as one or more X509.CRL.Extension
entries.
@spec revocation_date(t()) :: DateTime.t()
Returns the certificate recocation date for a CRL entry.
@spec serial(t()) :: pos_integer()
Returns the certificate serial number for a CRL entry.