Class CrlGenerator
Assembly: Lacuna.Pki.dll
Syntax
public class CrlGenerator
Constructors
CrlGenerator()
Declaration
Properties
Warnings
Declaration
public List<string> Warnings { get; }
Property Value
Methods
AddEntry(BigInteger, DateTimeOffset, RevocationReasons)
Declaration
public void AddEntry(BigInteger certificateSerialNumber, DateTimeOffset revocationDate, RevocationReasons reason = RevocationReasons.Unspecified)
Parameters
Generate()
Declaration
Returns
GenerateToSignBytes()
Declaration
public byte[] GenerateToSignBytes()
Returns
SetIssuer(PKCertificate)
Declaration
public void SetIssuer(PKCertificate issuer)
Parameters
SetIssuer(PKCertificateWithKey)
Declaration
public void SetIssuer(PKCertificateWithKey issuerWithKey)
Parameters
SetNextUpdate(DateTimeOffset)
Declaration
public void SetNextUpdate(DateTimeOffset nextUpdate)
Parameters
SetPrecomputedSignature(Byte[], Byte[])
Declaration
public void SetPrecomputedSignature(byte[] signature, byte[] toSignBytes)
Parameters
Type |
Name |
Description |
Byte[] |
signature |
|
Byte[] |
toSignBytes |
|
SetSerialNumber(BigInteger)
Declaration
public void SetSerialNumber(BigInteger serialNumber)
Parameters
SetSignatureAlgorithm(SignatureAlgorithm)
Declaration
public void SetSignatureAlgorithm(SignatureAlgorithm signatureAlg)
Parameters
SetThisAndNextUpdateFromNow(TimeSpan)
Declaration
public void SetThisAndNextUpdateFromNow(TimeSpan timeToNextUpdate)
Parameters
Type |
Name |
Description |
TimeSpan |
timeToNextUpdate |
|
SetThisUpdate(DateTimeOffset)
Declaration
public void SetThisUpdate(DateTimeOffset thisUpdate)
Parameters