X509CRLImpl

This class represents X.509 Certificate Revocation Lists (CRLs).

Constructors

this
this(DataSource input, bool throw_on_unknown_critical_)

Construct a CRL from a data source.

this
this(string filename, bool throw_on_unknown_critical_)

Construct a CRL from a file containing the DER or PEM encoded CRL.

this
this(Vector!ubyte vec, bool throw_on_unknown_critical_)

Construct a CRL from a binary vector

Members

Classes

X509CRLError
class X509CRLError

This class represents CRL related errors.

Functions

authorityKeyId
Vector!ubyte authorityKeyId()

Get the AuthorityKeyIdentifier of this CRL.

crlNumber
uint crlNumber()

Get the serial number of this CRL.

forceDecode
void forceDecode()
Undocumented in source. Be warned that the author may not have intended to support it.
getRevoked
const(Vector!CRLEntry) getRevoked()

Get the entries of this CRL in the form of a vector.

isRevoked
bool isRevoked(X509Certificate cert)

Check if this particular certificate is listed in the CRL

issuerDn
X509DN issuerDn()

Get the issuer DN of this CRL.

nextUpdate
const(X509Time) nextUpdate()

Get the CRL's nextUpdate value.

thisUpdate
const(X509Time) thisUpdate()

Get the CRL's thisUpdate value.

Variables

m_info
DataStore m_info;
Undocumented in source.
m_revoked
Vector!CRLEntry m_revoked;
Undocumented in source.
m_throw_on_unknown_critical
bool m_throw_on_unknown_critical;
Undocumented in source.

Inherited Members

From X509Object

tbsData
const(Vector!ubyte) tbsData()

The underlying data that is to be or was signed

signature
const(Vector!ubyte) signature()
signatureAlgorithm
const(AlgorithmIdentifier) signatureAlgorithm()
hashUsedForSignature
string hashUsedForSignature()
makeSigned
Vector!ubyte makeSigned(PKSigner signer, RandomNumberGenerator rng, AlgorithmIdentifier algo, Vector!(ubyte, ALLOC) tbs_bits)
Vector!ubyte makeSigned(PKSigner signer, RandomNumberGenerator rng, AlgorithmIdentifier algo, RefCounted!(Vector!(ubyte, ALLOC), ALLOC) tbs_bits)

Create a signed X509 object.

checkSignature
bool checkSignature(PublicKey pub_key)

Check the signature on this data

encodeInto
void encodeInto(DEREncoder to)
Undocumented in source. Be warned that the author may not have intended to support it.
decodeFrom
void decodeFrom(BERDecoder from)
Undocumented in source. Be warned that the author may not have intended to support it.
BER_encode
Vector!ubyte BER_encode()
PEM_encode
string PEM_encode()
~this
~this()
Undocumented in source.
doDecode
void doDecode()
Undocumented in source. Be warned that the author may not have intended to support it.
m_sig_algo
AlgorithmIdentifier m_sig_algo;
Undocumented in source.
m_tbs_bits
Vector!ubyte m_tbs_bits;
m_sig
Vector!ubyte m_sig;
Undocumented in source.
forceDecode
void forceDecode()
Undocumented in source.

Meta