X509.CRL.Entry (X509 v0.9.2)
View SourceCRL entries identify revoked certificates and contain metadata about the revocation.
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.
Types
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.