C# Class Org.BouncyCastle.X509.X509V2CrlGenerator

Afficher le fichier Open project: nonorganic/dssnet Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
GenerateCertList ( ) : TbsCertificateList
GenerateJcaObject ( TbsCertificateList tbsCrl, byte signature ) : X509Crl

Method Details

AddCrl() public méthode

public AddCrl ( X509Crl other ) : void
other X509Crl
Résultat void

AddCrlEntry() public méthode

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

AddCrlEntry() public méthode

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

AddCrlEntry() public méthode

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
Résultat void

AddExtension() public méthode

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

AddExtension() public méthode

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

AddExtension() public méthode

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

AddExtension() public méthode

public AddExtension ( string oid, bool critical, byte extensionValue ) : void
oid string
critical bool
extensionValue byte
Résultat void

Generate() public méthode

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.
Résultat X509Crl

Generate() public méthode

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.
Résultat X509Crl

Reset() public méthode

public Reset ( ) : void
Résultat void

SetIssuerDN() public méthode

public SetIssuerDN ( Org.BouncyCastle.Asn1.X509.X509Name issuer ) : void
issuer Org.BouncyCastle.Asn1.X509.X509Name
Résultat void

SetNextUpdate() public méthode

public SetNextUpdate ( System.DateTime date ) : void
date System.DateTime
Résultat void

SetSignatureAlgorithm() public méthode

public SetSignatureAlgorithm ( string signatureAlgorithm ) : void
signatureAlgorithm string
Résultat void

SetThisUpdate() public méthode

public SetThisUpdate ( System.DateTime date ) : void
date System.DateTime
Résultat void

X509V2CrlGenerator() public méthode

public X509V2CrlGenerator ( ) : System
Résultat System