Class OcspResponseGenerator
Inheritance
OcspResponseGenerator
Assembly: Lacuna.Pki.dll
Syntax
public class OcspResponseGenerator
Constructors
OcspResponseGenerator()
Declaration
public OcspResponseGenerator()
Methods
AddGoodStatusResponseEntry(CertificateId)
Declaration
public void AddGoodStatusResponseEntry(CertificateId certificateId)
Parameters
AddRevokedStatusResponseEntry(CertificateId, DateTimeOffset, RevocationReasons)
Declaration
public void AddRevokedStatusResponseEntry(CertificateId certificateId, DateTimeOffset revocationDate, RevocationReasons revocationReason)
Parameters
AddUnknownStatusResponseEntry(CertificateId)
Declaration
public void AddUnknownStatusResponseEntry(CertificateId certificateId)
Parameters
Generate()
Declaration
Returns
GenerateToSignBytes(out Byte[])
Declaration
public byte[] GenerateToSignBytes(out byte[] transferData)
Parameters
Type |
Name |
Description |
Byte[] |
transferData |
|
Returns
SetIssuer(PKCertificate)
Declaration
public void SetIssuer(PKCertificate issuer)
Parameters
SetIssuer(PKCertificateWithKey)
Declaration
public void SetIssuer(PKCertificateWithKey issuerWithKey)
Parameters
SetIssuerCertificateInclusion(InclusionLevel)
Declaration
public void SetIssuerCertificateInclusion(InclusionLevel inclusionLevel)
Parameters
SetNextUpdate(DateTimeOffset)
Declaration
public void SetNextUpdate(DateTimeOffset nextUpdate)
Parameters
SetPrecomputedSignature(Byte[], Byte[])
Declaration
public void SetPrecomputedSignature(byte[] signature, byte[] transferData)
Parameters
Type |
Name |
Description |
Byte[] |
signature |
|
Byte[] |
transferData |
|
SetResponseStatus(OcspStatus)
Declaration
public void SetResponseStatus(OcspStatus status)
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