iText 8.0.5 API
iText.Signatures.Validation.V1.Context Namespace Reference

Classes

class   CertificateSources
  Container class, which contains set of single CertificateSource values. More...
 
class   TimeBasedContexts
  Container class, which contains set of single TimeBasedContext values. More...
 
class   ValidationContext
  Validation context class, which encapsulates specific context values, related to validation process. More...
 
class   ValidatorContexts
  Container class, which contains set of single ValidatorContext values. More...
 

Enumerations

enum   CertificateSource {
  CertificateSource.CRL_ISSUER, CertificateSource.OCSP_ISSUER, CertificateSource.CERT_ISSUER, CertificateSource.SIGNER_CERT,
  CertificateSource.TRUSTED, CertificateSource.TIMESTAMP
}
  This enum lists all possible contexts related to the certificate origin in which a validation may take place More...
 
enum   TimeBasedContext { TimeBasedContext.HISTORICAL, TimeBasedContext.PRESENT }
  This enum is used for giving a perspective on a time period at which validation is happening. More...
 
enum   ValidatorContext {
  ValidatorContext.OCSP_VALIDATOR, ValidatorContext.CRL_VALIDATOR, ValidatorContext.REVOCATION_DATA_VALIDATOR, ValidatorContext.CERTIFICATE_CHAIN_VALIDATOR,
  ValidatorContext.SIGNATURE_VALIDATOR, ValidatorContext.DOCUMENT_REVISIONS_VALIDATOR
}
  This enum lists all possible contexts related to the validator in which the validation is taking place. More...
 

Enumeration Type Documentation

◆ CertificateSource

This enum lists all possible contexts related to the certificate origin in which a validation may take place

Enumerator
CRL_ISSUER 

The context while validating a CRL issuer certificate.

OCSP_ISSUER 

The context while validating a OCSP issuer certificate that is neither trusted nor CA.

CERT_ISSUER 

The context while validating a certificate issuer certificate.

SIGNER_CERT 

The context while validating a signer certificate.

TRUSTED 

A certificate that is on a trusted list.

TIMESTAMP 

The context while validating a timestamp issuer certificate.

◆ TimeBasedContext

This enum is used for giving a perspective on a time period at which validation is happening.

Enumerator
HISTORICAL 

The date used lies in the past.

PRESENT 

The date used lies in the present or there is no date.

◆ ValidatorContext

This enum lists all possible contexts related to the validator in which the validation is taking place.

Enumerator
OCSP_VALIDATOR 

This value is expected to be used in OCSPValidator context.

CRL_VALIDATOR 

This value is expected to be used in CRLValidator context.

REVOCATION_DATA_VALIDATOR 

This value is expected to be used in RevocationDataValidator context.

CERTIFICATE_CHAIN_VALIDATOR 

This value is expected to be used in CertificateChainValidator context.

SIGNATURE_VALIDATOR 

This value is expected to be used in SignatureValidator context.

DOCUMENT_REVISIONS_VALIDATOR 

This value is expected to be used in DocumentRevisionsValidator context.