Class CertificateReportItem
java.lang.Object
com.itextpdf.signatures.validation.v1.report.ReportItem
com.itextpdf.signatures.validation.v1.report.CertificateReportItem
Report item to be used for single certificate related failure or log message.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.itextpdf.signatures.validation.v1.report.ReportItem
ReportItem.ReportItemStatus
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCertificateReportItem
(X509Certificate certificate, String checkName, String message, ReportItem.ReportItemStatus status) CreateReportItem
instance.CertificateReportItem
(X509Certificate certificate, String checkName, String message, Exception cause, ReportItem.ReportItemStatus status) CreateReportItem
instance. -
Method Summary
Methods inherited from class com.itextpdf.signatures.validation.v1.report.ReportItem
getCheckName, getExceptionCause, getMessage, getStatus, setStatus
-
Field Details
-
certificate
-
-
Constructor Details
-
CertificateReportItem
public CertificateReportItem(X509Certificate certificate, String checkName, String message, ReportItem.ReportItemStatus status) CreateReportItem
instance.- Parameters:
certificate
-X509Certificate
processing which report item occurredcheckName
-String
, which represents a check name during which report item occurredmessage
-String
with the exact report item messagestatus
-ReportItem.ReportItemStatus
report item status that determines validation result
-
CertificateReportItem
public CertificateReportItem(X509Certificate certificate, String checkName, String message, Exception cause, ReportItem.ReportItemStatus status) CreateReportItem
instance.- Parameters:
certificate
-X509Certificate
processing which report item occurredcheckName
-String
, which represents a check name during which report item occurredmessage
-String
with the exact report item messagecause
-Exception
, which caused this report itemstatus
-ReportItem.ReportItemStatus
report item status that determines validation result
-
-
Method Details
-
getCertificate
Get the certificate related to this report item.- Returns:
X509Certificate
related to this report item.
-
toString
- Overrides:
toString
in classReportItem
- Returns:
-