CrlGenerator
Namespace: Lacuna.Pki
Assembly: Lacuna.Pki
Class
public class CrlGenerator
Hierarquia: object → CrlGenerator
Construtores
CrlGenerator()
public CrlGenerator()
Propriedades
Warnings
public List<string> Warnings { get; }
Retorno
Métodos
AddEntry(BigInteger, DateTimeOffset, RevocationReasons)
public void AddEntry(BigInteger certificateSerialNumber, DateTimeOffset revocationDate, RevocationReasons reason = RevocationReasons.Unspecified)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
certificateSerialNumber | BigInteger | |
revocationDate | DateTimeOffset | |
reason | RevocationReasons |
Generate()
public Crl Generate()
Retorno
GenerateToSignBytes()
public byte[] GenerateToSignBytes()
Retorno
SetIssuer(PKCertificate)
public void SetIssuer(PKCertificate issuer)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
issuer | PKCertificate |
SetIssuer(PKCertificateWithKey)
public void SetIssuer(PKCertificateWithKey issuerWithKey)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
issuerWithKey | PKCertificateWithKey |
SetNextUpdate(DateTimeOffset)
public void SetNextUpdate(DateTimeOffset nextUpdate)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
nextUpdate | DateTimeOffset |
SetPrecomputedSignature(byte[], byte[])
public void SetPrecomputedSignature(byte[] signature, byte[] toSignBytes)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
signature | byte[] | |
toSignBytes | byte[] |
SetSerialNumber(BigInteger)
public void SetSerialNumber(BigInteger serialNumber)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
serialNumber | BigInteger |
SetSignatureAlgorithm(SignatureAlgorithm)
public void SetSignatureAlgorithm(SignatureAlgorithm signatureAlg)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
signatureAlg | SignatureAlgorithm |
SetThisAndNextUpdateFromNow(TimeSpan)
public void SetThisAndNextUpdateFromNow(TimeSpan timeToNextUpdate)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
timeToNextUpdate | TimeSpan |
SetThisUpdate(DateTimeOffset)
public void SetThisUpdate(DateTimeOffset thisUpdate)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
thisUpdate | DateTimeOffset |
Membros herdados
ToString(), Equals(object), Equals(object, object), ReferenceEquals(object, object), GetHashCode(), GetType(), MemberwiseClone()