Org.BouncyCastle.X509.X509V2CrlGenerator
Generator for X.509 version 2 certificate revocation lists (CRLs) as defined in RFC 5280.
Builds the TBSCertList structure, optional CRL extensions, and signs the result via
Generate.
Allows enumeration of the signature names supported by the generator.
public X509V2CrlGenerator()
Creates an empty version 2 CRL generator.
Creates a generator for a version 2 CRL, initialised from another CRL.
Creates a generator for a version 2 CRL, initialised from a parsed
CertificateList structure.
Copies all revoked-certificate entries from another CRL into this generator.
Adds a revoked-certificate entry with an optional CrlReason code.
public void AddCrlEntry(BigInteger userCertificate, DateTime revocationDate, int reason, DateTime invalidityDate)
Adds a revoked-certificate entry with CrlReason and an Invalidity Date extension.
public void AddCrlEntry(BigInteger userCertificate, DateTime revocationDate, X509Extensions extensions)
Adds a revoked-certificate entry with caller-supplied CRL entry extensions.
Adds a CRL extension identified by a dotted-decimal OID string.
Adds a CRL extension.
Adds a CRL extension identified by a dotted-decimal OID string.
Adds a CRL extension.
Generate a new X509Crl using the provided ISignatureFactory.
public X509Crl Generate(ISignatureFactory signatureFactory, bool isCritical, ISignatureFactory altSignatureFactory)
Generate a new X509Crl using the provided ISignatureFactory and
containing altSignatureAlgorithm and altSignatureValue extensions based on the passed
altSignatureFactory.
Resets the generator to an empty CRL state, discarding issuer, dates, entries and extensions.
Sets the issuer distinguished name — the entity whose private key signs the CRL.
Sets the time by which the next CRL in the sequence is expected to be issued
(nextUpdate in the TBSCertList).
Sets the time at which this CRL was issued (thisUpdate in the TBSCertList).