C# Class Org.BouncyCastle.X509.X509V2CrlGenerator

Show file Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
AddCrl ( X509Crl other ) : void
AddCrlEntry ( BigInteger userCertificate, System.DateTime revocationDate, X509Extensions extensions ) : void
AddCrlEntry ( BigInteger userCertificate, System.DateTime revocationDate, int reason ) : void
AddCrlEntry ( BigInteger userCertificate, System.DateTime revocationDate, int reason, System.DateTime invalidityDate ) : void
AddExtension ( DerObjectIdentifier oid, bool critical, Asn1Encodable extensionValue ) : void
AddExtension ( DerObjectIdentifier oid, bool critical, byte extensionValue ) : void
AddExtension ( string oid, bool critical, Asn1Encodable extensionValue ) : void
AddExtension ( string oid, bool critical, byte extensionValue ) : void
Generate ( AsymmetricKeyParameter privateKey ) : X509Crl

Generate an X509 CRL, based on the current issuer and subject.

Generate ( AsymmetricKeyParameter privateKey, SecureRandom random ) : X509Crl

Generate an X509 CRL, based on the current issuer and subject.

Reset ( ) : void
SetIssuerDN ( Org.BouncyCastle.Asn1.X509.X509Name issuer ) : void
SetNextUpdate ( System.DateTime date ) : void
SetSignatureAlgorithm ( string signatureAlgorithm ) : void
SetThisUpdate ( System.DateTime date ) : void
X509V2CrlGenerator ( ) : System

Private Methods

Method Description
GenerateCertList ( ) : TbsCertificateList
GenerateJcaObject ( TbsCertificateList tbsCrl, byte signature ) : X509Crl

Method Details

AddCrl() public method

public AddCrl ( X509Crl other ) : void
other X509Crl
return void

AddCrlEntry() public method

public AddCrlEntry ( BigInteger userCertificate, System.DateTime revocationDate, X509Extensions extensions ) : void
userCertificate Org.BouncyCastle.Math.BigInteger
revocationDate System.DateTime
extensions Org.BouncyCastle.Asn1.X509.X509Extensions
return void

AddCrlEntry() public method

public AddCrlEntry ( BigInteger userCertificate, System.DateTime revocationDate, int reason ) : void
userCertificate Org.BouncyCastle.Math.BigInteger
revocationDate System.DateTime
reason int
return void

AddCrlEntry() public method

public AddCrlEntry ( BigInteger userCertificate, System.DateTime revocationDate, int reason, System.DateTime invalidityDate ) : void
userCertificate Org.BouncyCastle.Math.BigInteger
revocationDate System.DateTime
reason int
invalidityDate System.DateTime
return void

AddExtension() public method

public AddExtension ( DerObjectIdentifier oid, bool critical, Asn1Encodable extensionValue ) : void
oid Org.BouncyCastle.Asn1.DerObjectIdentifier
critical bool
extensionValue Org.BouncyCastle.Asn1.Asn1Encodable
return void

AddExtension() public method

public AddExtension ( DerObjectIdentifier oid, bool critical, byte extensionValue ) : void
oid Org.BouncyCastle.Asn1.DerObjectIdentifier
critical bool
extensionValue byte
return void

AddExtension() public method

public AddExtension ( string oid, bool critical, Asn1Encodable extensionValue ) : void
oid string
critical bool
extensionValue Org.BouncyCastle.Asn1.Asn1Encodable
return void

AddExtension() public method

public AddExtension ( string oid, bool critical, byte extensionValue ) : void
oid string
critical bool
extensionValue byte
return void

Generate() public method

Generate an X509 CRL, based on the current issuer and subject.
public Generate ( AsymmetricKeyParameter privateKey ) : X509Crl
privateKey Org.BouncyCastle.Crypto.AsymmetricKeyParameter The key used for signing.
return X509Crl

Generate() public method

Generate an X509 CRL, based on the current issuer and subject.
public Generate ( AsymmetricKeyParameter privateKey, SecureRandom random ) : X509Crl
privateKey Org.BouncyCastle.Crypto.AsymmetricKeyParameter The key used for signing.
random Org.BouncyCastle.Security.SecureRandom A user-defined source of randomness.
return X509Crl

Reset() public method

public Reset ( ) : void
return void

SetIssuerDN() public method

public SetIssuerDN ( Org.BouncyCastle.Asn1.X509.X509Name issuer ) : void
issuer Org.BouncyCastle.Asn1.X509.X509Name
return void

SetNextUpdate() public method

public SetNextUpdate ( System.DateTime date ) : void
date System.DateTime
return void

SetSignatureAlgorithm() public method

public SetSignatureAlgorithm ( string signatureAlgorithm ) : void
signatureAlgorithm string
return void

SetThisUpdate() public method

public SetThisUpdate ( System.DateTime date ) : void
date System.DateTime
return void

X509V2CrlGenerator() public method

public X509V2CrlGenerator ( ) : System
return System