Table of Contents

Class ValidationCrlClient

Namespace
iText.Signatures.Validation.V1
Assembly
itext.sign.dll

CRL client which is expected to be used in case CRL responses shall be linked with generation date.

public class ValidationCrlClient : ICrlClient
Inheritance
ValidationCrlClient
Implements
Inherited Members

Constructors

ValidationCrlClient()

Create new ValidationCrlClient instance.

public ValidationCrlClient()

Methods

AddCrl(IX509Crl, DateTime, TimeBasedContext)

Add CRL response which is linked with generation date.

public virtual void AddCrl(IX509Crl response, DateTime date, TimeBasedContext context)

Parameters

response IX509Crl

iText.Commons.Bouncycastle.Cert.IX509Crl response to be added

date DateTime

DateTime to be linked with the response

context TimeBasedContext

TimeBasedContext time based context which corresponds to generation date

GetCrls()

Get all the CRL responses linked with generation dates.

public virtual IDictionary<IX509Crl, RevocationDataValidator.CrlValidationInfo> GetCrls()

Returns

IDictionary<IX509Crl, RevocationDataValidator.CrlValidationInfo>

all the CRL responses linked with generation dates

GetEncoded(IX509Certificate, string)

.

public virtual ICollection<byte[]> GetEncoded(IX509Certificate checkCert, string url)

Parameters

checkCert IX509Certificate
url string

Returns

ICollection<byte[]>