Class CertificateReports
- java.lang.Object
-
- eu.europa.esig.dss.validation.reports.AbstractReports
-
- eu.europa.esig.dss.validation.reports.CertificateReports
-
public class CertificateReports extends AbstractReports
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
Constructors Constructor Description CertificateReports(XmlDiagnosticData diagnosticDataJaxb, XmlDetailedReport detailedReport, XmlSimpleCertificateReport simpleReport)This is the default constructor to instantiate this container.
-
Method Summary
Modifier and Type Method Description SimpleCertificateReportgetSimpleReport()This method returns the wrapper to manipulate the JAXB SimpleCertificateReportXmlSimpleCertificateReportgetSimpleReportJaxb()This method returns the JAXB XmlSimpleCertificateReportStringgetXmlSimpleReport()This method returns the XML representation of the JAXB XmlSimpleCertificateReport String-
Methods inherited from class eu.europa.esig.dss.validation.reports.AbstractReports
getDetailedReport, getDetailedReportJaxb, getDiagnosticData, getDiagnosticDataJaxb, getXmlDetailedReport, getXmlDiagnosticData, print, setValidateXml
-
-
-
-
Constructor Detail
-
CertificateReports
public CertificateReports(XmlDiagnosticData diagnosticDataJaxb, XmlDetailedReport detailedReport, XmlSimpleCertificateReport simpleReport)
This is the default constructor to instantiate this container.- Parameters:
diagnosticDataJaxb- the JAXBXmlDiagnosticDatadetailedReport- the JAXBXmlDetailedReportsimpleReport- the JAXBXmlSimpleCertificateReport
-
-
Method Detail
-
getSimpleReport
public SimpleCertificateReport getSimpleReport()
This method returns the wrapper to manipulate the JAXB SimpleCertificateReport- Returns:
- the wrapper
SimpleCertificateReport
-
getSimpleReportJaxb
public XmlSimpleCertificateReport getSimpleReportJaxb()
This method returns the JAXB XmlSimpleCertificateReport- Returns:
- the JAXB
XmlSimpleCertificateReport
-
getXmlSimpleReport
public String getXmlSimpleReport() throws DSSReportException
This method returns the XML representation of the JAXB XmlSimpleCertificateReport String- Specified by:
getXmlSimpleReportin classAbstractReports- Returns:
- a String with the XML content of the JAXB
XmlSimpleCertificateReport - Throws:
DSSReportException- - in case of marshalling error
-
-