iText 8.0.5 API
iText.Signatures.Validation.V1.SignatureValidator Class Reference

Validator class, which is expected to be used for signatures validation. More...

Public Member Functions

virtual iText.Signatures.Validation.V1.SignatureValidator  SetEventCountingMetaInfo (IMetaInfo metaInfo)
  Sets the iText.Commons.Actions.Contexts.IMetaInfo that will be used during new iText.Kernel.Pdf.PdfDocument creations. More...
 
virtual ValidationReport  ValidateSignatures ()
  Validate all signatures in the document. More...
 

Static Public Attributes

const String  VALIDATING_SIGNATURE_NAME = "Validating signature {0}"
 

Package Functions

  SignatureValidator (PdfDocument originalDocument, ValidatorChainBuilder builder)
  Creates new instance of SignatureValidator. More...
 

Detailed Description

Validator class, which is expected to be used for signatures validation.

Constructor & Destructor Documentation

◆ SignatureValidator()

iText.Signatures.Validation.V1.SignatureValidator.SignatureValidator ( PdfDocument  originalDocument,
ValidatorChainBuilder  builder 
)
inlinepackage

Creates new instance of SignatureValidator.

Parameters
originalDocument

iText.Kernel.Pdf.PdfDocument instance which will be validated

Parameters
builder see ValidatorChainBuilder

Member Function Documentation

◆ SetEventCountingMetaInfo()

virtual iText.Signatures.Validation.V1.SignatureValidator iText.Signatures.Validation.V1.SignatureValidator.SetEventCountingMetaInfo ( IMetaInfo  metaInfo )
inlinevirtual

Sets the iText.Commons.Actions.Contexts.IMetaInfo that will be used during new iText.Kernel.Pdf.PdfDocument creations.

Parameters
metaInfo meta info to set
Returns
the same SignatureValidator instance

◆ ValidateSignatures()

virtual ValidationReport iText.Signatures.Validation.V1.SignatureValidator.ValidateSignatures ( )
inlinevirtual

Validate all signatures in the document.

Returns

iText.Signatures.Validation.V1.Report.ValidationReport which contains detailed validation results