Class X509V2CrlGenerator
- Namespace
- Org.BouncyCastle.X509
- Assembly
- BouncyCastle.Cryptography.dll
public class X509V2CrlGenerator
- Inheritance
-
X509V2CrlGenerator
- Inherited Members
Constructors
X509V2CrlGenerator()
public X509V2CrlGenerator()
X509V2CrlGenerator(CertificateList)
public X509V2CrlGenerator(CertificateList template)
Parameters
templateCertificateList
X509V2CrlGenerator(X509Crl)
Create a builder for a version 2 CRL, initialised with another CRL.
public X509V2CrlGenerator(X509Crl template)
Parameters
templateX509CrlTemplate CRL to base the new one on.
Properties
SignatureAlgNames
Allows enumeration of the signature names supported by the generator.
[Obsolete("Will be removed")]
public IEnumerable<string> SignatureAlgNames { get; }
Property Value
Methods
AddCrl(X509Crl)
public void AddCrl(X509Crl other)
Parameters
otherX509Crl
AddCrlEntry(BigInteger, DateTime, X509Extensions)
public void AddCrlEntry(BigInteger userCertificate, DateTime revocationDate, X509Extensions extensions)
Parameters
userCertificateBigIntegerrevocationDateDateTimeextensionsX509Extensions
AddCrlEntry(BigInteger, DateTime, int)
public void AddCrlEntry(BigInteger userCertificate, DateTime revocationDate, int reason)
Parameters
userCertificateBigIntegerrevocationDateDateTimereasonint
AddCrlEntry(BigInteger, DateTime, int, DateTime)
public void AddCrlEntry(BigInteger userCertificate, DateTime revocationDate, int reason, DateTime invalidityDate)
Parameters
userCertificateBigIntegerrevocationDateDateTimereasonintinvalidityDateDateTime
AddExtension(DerObjectIdentifier, bool, Asn1Encodable)
public void AddExtension(DerObjectIdentifier oid, bool critical, Asn1Encodable extensionValue)
Parameters
oidDerObjectIdentifiercriticalboolextensionValueAsn1Encodable
AddExtension(DerObjectIdentifier, bool, byte[])
public void AddExtension(DerObjectIdentifier oid, bool critical, byte[] extensionValue)
Parameters
oidDerObjectIdentifiercriticalboolextensionValuebyte[]
AddExtension(string, bool, Asn1Encodable)
public void AddExtension(string oid, bool critical, Asn1Encodable extensionValue)
Parameters
oidstringcriticalboolextensionValueAsn1Encodable
AddExtension(string, bool, byte[])
public void AddExtension(string oid, bool critical, byte[] extensionValue)
Parameters
Generate(ISignatureFactory)
Generate a new X509Crl using the provided ISignatureFactory.
public X509Crl Generate(ISignatureFactory signatureFactory)
Parameters
signatureFactoryISignatureFactoryA signature factory with the necessary algorithm details.
Returns
Generate(ISignatureFactory, bool, ISignatureFactory)
Generate a new X509Crl using the provided ISignatureFactory and
containing altSignatureAlgorithm and altSignatureValue extensions based on the passed
altSignatureFactory.
public X509Crl Generate(ISignatureFactory signatureFactory, bool isCritical, ISignatureFactory altSignatureFactory)
Parameters
signatureFactoryISignatureFactoryA signature factory with the necessary algorithm details.
isCriticalboolWhether the 'alt' extensions should be marked critical.
altSignatureFactoryISignatureFactoryA signature factory used to create the altSignatureAlgorithm and altSignatureValue extensions.
Returns
Reset()
public void Reset()
SetIssuerDN(X509Name)
public void SetIssuerDN(X509Name issuer)
Parameters
issuerX509Name
SetNextUpdate(DateTime)
public void SetNextUpdate(DateTime date)
Parameters
dateDateTime
SetThisUpdate(DateTime)
public void SetThisUpdate(DateTime date)
Parameters
dateDateTime