X509.CRL.Entry (X509 v0.9.2)

View Source

CRL entries identify revoked certificates and contain metadata about the revocation.

Summary

Types

t()

:TBSCertList_revokedCertificates_SEQOF record, as used in Erlang's :public_key module

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

t()

@opaque t()

:TBSCertList_revokedCertificates_SEQOF record, as used in Erlang's :public_key module

Functions

extension(entry, extension_id)

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.

extensions(arg)

@spec extensions(t()) :: [X509.CRL.Extension.t()]

Returns the list of extensions in a CRL entry.

new(certificate, date, extensions \\ [])

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.

revocation_date(arg)

@spec revocation_date(t()) :: DateTime.t()

Returns the certificate recocation date for a CRL entry.

serial(arg)

@spec serial(t()) :: pos_integer()

Returns the certificate serial number for a CRL entry.