Table of Contents

Class ValidationReport

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

Validation report, which contains detailed validation results.

public class ValidationReport
Inheritance
ValidationReport
Inherited Members

Constructors

ValidationReport()

Create new instance of ValidationReport.

public ValidationReport()

Methods

AddReportItem(ReportItem)

Add new report item to the overall validation result.

public virtual void AddReportItem(ReportItem item)

Parameters

item ReportItem

ReportItem to be added

GetCertificateFailures()

Get list of failures, which are related to certificate validation.

public virtual IList<CertificateReportItem> GetCertificateFailures()

Returns

IList<CertificateReportItem>

report items , which contains only CertificateReportItem failures

GetCertificateLogs()

Get list of log messages, which are related to certificate validation.

public virtual IList<CertificateReportItem> GetCertificateLogs()

Returns

IList<CertificateReportItem>

report items , which contains only CertificateReportItem log messages

GetFailures()

Get all failures recognized during a validation process.

public virtual IList<ReportItem> GetFailures()

Returns

IList<ReportItem>

report items , which contains all recognized failures

GetLogs()

Get all log messages reported during a validation process.

public virtual IList<ReportItem> GetLogs()

Returns

IList<ReportItem>

report items , which contains all reported log messages, related to validation

GetValidationResult()

Get the result of a validation process.

public virtual ValidationReport.ValidationResult GetValidationResult()

Returns

ValidationReport.ValidationResult

ValidationReport.ValidationResult , which represents the result of a validation

Merge(ValidationReport)

Merge all ReportItem objects from sub report into this one.

public virtual ValidationReport Merge(ValidationReport subReport)

Parameters

subReport ValidationReport

report from which items will be merged

Returns

ValidationReport

ValidationReport the same updated validation report instance.

ToString()

.

public override string ToString()

Returns

string