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
ConstructorsConstructorDescriptionCertificateReports(eu.europa.esig.dss.diagnostic.jaxb.XmlDiagnosticData diagnosticDataJaxb, eu.europa.esig.dss.detailedreport.jaxb.XmlDetailedReport detailedReport, eu.europa.esig.dss.simplecertificatereport.jaxb.XmlSimpleCertificateReport simpleReport) This is the default constructor to instantiate this container. -
Method Summary
Modifier and TypeMethodDescriptioneu.europa.esig.dss.simplecertificatereport.SimpleCertificateReportThis method returns the wrapper to manipulate the JAXB SimpleCertificateReporteu.europa.esig.dss.simplecertificatereport.jaxb.XmlSimpleCertificateReportThis 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(eu.europa.esig.dss.diagnostic.jaxb.XmlDiagnosticData diagnosticDataJaxb, eu.europa.esig.dss.detailedreport.jaxb.XmlDetailedReport detailedReport, eu.europa.esig.dss.simplecertificatereport.jaxb.XmlSimpleCertificateReport simpleReport) This is the default constructor to instantiate this container.- Parameters:
diagnosticDataJaxb- the JAXBXmlDiagnosticDatadetailedReport- the JAXBXmlDetailedReportsimpleReport- the JAXBXmlSimpleCertificateReport
-
-
Method Details
-
getSimpleReport
public eu.europa.esig.dss.simplecertificatereport.SimpleCertificateReport getSimpleReport()This method returns the wrapper to manipulate the JAXB SimpleCertificateReport- Returns:
- the wrapper
SimpleCertificateReport
-
getSimpleReportJaxb
public eu.europa.esig.dss.simplecertificatereport.jaxb.XmlSimpleCertificateReport 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:
getXmlSimpleReportin classAbstractReports- Returns:
- a String with the XML content of the JAXB
XmlSimpleCertificateReport - Throws:
DSSReportException- - in case of marshalling error
-