C# Класс Org.BouncyCastle.X509.X509V2CrlGenerator

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GenerateCertList ( ) : TbsCertificateList
GenerateJcaObject ( TbsCertificateList tbsCrl, byte signature ) : X509Crl

Описание методов

AddCrl() публичный Метод

public AddCrl ( X509Crl other ) : void
other X509Crl
Результат void

AddCrlEntry() публичный Метод

public AddCrlEntry ( BigInteger userCertificate, System.DateTime revocationDate, X509Extensions extensions ) : void
userCertificate Org.BouncyCastle.Math.BigInteger
revocationDate System.DateTime
extensions Org.BouncyCastle.Asn1.X509.X509Extensions
Результат void

AddCrlEntry() публичный Метод

public AddCrlEntry ( BigInteger userCertificate, System.DateTime revocationDate, int reason ) : void
userCertificate Org.BouncyCastle.Math.BigInteger
revocationDate System.DateTime
reason int
Результат void

AddCrlEntry() публичный Метод

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
Результат void

AddExtension() публичный Метод

public AddExtension ( DerObjectIdentifier oid, bool critical, Asn1Encodable extensionValue ) : void
oid Org.BouncyCastle.Asn1.DerObjectIdentifier
critical bool
extensionValue Org.BouncyCastle.Asn1.Asn1Encodable
Результат void

AddExtension() публичный Метод

public AddExtension ( DerObjectIdentifier oid, bool critical, byte extensionValue ) : void
oid Org.BouncyCastle.Asn1.DerObjectIdentifier
critical bool
extensionValue byte
Результат void

AddExtension() публичный Метод

public AddExtension ( string oid, bool critical, Asn1Encodable extensionValue ) : void
oid string
critical bool
extensionValue Org.BouncyCastle.Asn1.Asn1Encodable
Результат void

AddExtension() публичный Метод

public AddExtension ( string oid, bool critical, byte extensionValue ) : void
oid string
critical bool
extensionValue byte
Результат void

Generate() публичный Метод

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.
Результат X509Crl

Generate() публичный Метод

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.
Результат X509Crl

Reset() публичный Метод

public Reset ( ) : void
Результат void

SetIssuerDN() публичный Метод

public SetIssuerDN ( Org.BouncyCastle.Asn1.X509.X509Name issuer ) : void
issuer Org.BouncyCastle.Asn1.X509.X509Name
Результат void

SetNextUpdate() публичный Метод

public SetNextUpdate ( System.DateTime date ) : void
date System.DateTime
Результат void

SetSignatureAlgorithm() публичный Метод

public SetSignatureAlgorithm ( string signatureAlgorithm ) : void
signatureAlgorithm string
Результат void

SetThisUpdate() публичный Метод

public SetThisUpdate ( System.DateTime date ) : void
date System.DateTime
Результат void

X509V2CrlGenerator() публичный Метод

public X509V2CrlGenerator ( ) : System
Результат System