Class CertificateReports
java.lang.Object
eu.europa.esig.dss.validation.reports.AbstractReports
eu.europa.esig.dss.validation.reports.CertificateReports
This class is a container for all reports generated by the certificate
validation process: diagnostic data, detailed report and simple report.
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.reports.AbstractReports
validateXml
-
Constructor Summary
ConstructorDescriptionCertificateReports
(XmlDiagnosticData diagnosticDataJaxb, XmlDetailedReport detailedReport, XmlSimpleCertificateReport simpleReport) This is the default constructor to instantiate this container. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the wrapper to manipulate the JAXB SimpleCertificateReportThis method returns the JAXB XmlSimpleCertificateReportThis method returns the XML representation of the JAXB XmlSimpleCertificateReport StringMethods inherited from class eu.europa.esig.dss.validation.reports.AbstractReports
getDetailedReport, getDetailedReportJaxb, getDiagnosticData, getDiagnosticDataJaxb, getXmlDetailedReport, getXmlDiagnosticData, print, setValidateXml
-
Constructor Details
-
CertificateReports
public CertificateReports(XmlDiagnosticData diagnosticDataJaxb, XmlDetailedReport detailedReport, XmlSimpleCertificateReport simpleReport) This is the default constructor to instantiate this container.- Parameters:
diagnosticDataJaxb
- the JAXBXmlDiagnosticData
detailedReport
- the JAXBXmlDetailedReport
simpleReport
- the JAXBXmlSimpleCertificateReport
-
-
Method Details
-
getSimpleReport
This method returns the wrapper to manipulate the JAXB SimpleCertificateReport- Returns:
- the wrapper
SimpleCertificateReport
-
getSimpleReportJaxb
This method returns the JAXB XmlSimpleCertificateReport- Returns:
- the JAXB
XmlSimpleCertificateReport
-
getXmlSimpleReport
This method returns the XML representation of the JAXB XmlSimpleCertificateReport String- Specified by:
getXmlSimpleReport
in classAbstractReports
- Returns:
- a String with the XML content of the JAXB
XmlSimpleCertificateReport
- Throws:
DSSReportException
- - in case of marshalling error
-