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
-
Constructor Summary
ConstructorDescriptionCertificateReportItem
(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
-
Constructor Details
-
CertificateReportItem
public CertificateReportItem(X509Certificate certificate, String checkName, String message, ReportItem.ReportItemStatus status) CreateReportItem
instance.- Parameters:
-
certificate
-X509Certificate
processing which report item occurred -
checkName
-String
, which represents a check name during which report item occurred -
message
-String
with the exact report item message -
status
-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 occurred -
checkName
-String
, which represents a check name during which report item occurred -
message
-String
with the exact report item message -
cause
-Exception
, which caused this report item -
status
-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:
-