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.
  • Constructor Details

    • CertificateReports

      public CertificateReports(XmlDiagnosticData diagnosticDataJaxb, XmlDetailedReport detailedReport, XmlSimpleCertificateReport simpleReport)
      This is the default constructor to instantiate this container.
      Parameters:
      diagnosticDataJaxb - the JAXB XmlDiagnosticData
      detailedReport - the JAXB XmlDetailedReport
      simpleReport - the JAXB XmlSimpleCertificateReport
  • Method Details

    • 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:
      getXmlSimpleReport in class AbstractReports
      Returns:
      a String with the XML content of the JAXB XmlSimpleCertificateReport
      Throws:
      DSSReportException - - in case of marshalling error