Class XmlQcStatementsBuilder

java.lang.Object
eu.europa.esig.dss.validation.XmlQcStatementsBuilder

public class XmlQcStatementsBuilder extends Object
This class is used to build a XmlQcStatements object and enveloped objects
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    eu.europa.esig.dss.diagnostic.jaxb.XmlQcStatements
    build(eu.europa.esig.dss.model.x509.extension.QcStatements qcStatements)
    Builds the XmlQcStatements
    eu.europa.esig.dss.diagnostic.jaxb.XmlPSD2QcInfo
    buildPSD2QcInfo(eu.europa.esig.dss.model.x509.extension.PSD2QcType psd2QcStatement)
    Builds XmlPSD2QcInfo
    eu.europa.esig.dss.diagnostic.jaxb.XmlQcEuLimitValue
    buildQcEuLimitValue(eu.europa.esig.dss.model.x509.extension.QCLimitValue qcLimitValue)
    Builds XmlQcEuLimitValue
    eu.europa.esig.dss.diagnostic.jaxb.XmlOID
    buildSemanticsIdentifier(eu.europa.esig.dss.enumerations.OidDescription semanticsIdentifier)
    Builds Semantics Identifier XmlOID
    eu.europa.esig.dss.diagnostic.jaxb.XmlQcCompliance
    buildXmlQcCompliance(boolean present)
    Builds XmlQcCompliance
    List<eu.europa.esig.dss.diagnostic.jaxb.XmlLangAndValue>
    buildXmlQcEuPSD(List<eu.europa.esig.dss.model.x509.extension.PdsLocation> qcEuPDS)
    Builds a list of XML QcEuPSDs
    eu.europa.esig.dss.diagnostic.jaxb.XmlQcSSCD
    buildXmlQcSSCD(boolean present)
    Builds a XmlQcSSCD
    List<eu.europa.esig.dss.diagnostic.jaxb.XmlOID>
    buildXmlQcTypes(List<eu.europa.esig.dss.enumerations.QCType> qcTypes)
    Builds a list of XML QcTypes
    eu.europa.esig.dss.diagnostic.jaxb.XmlQcStatements
    copy(eu.europa.esig.dss.diagnostic.jaxb.XmlQcStatements xmlQcStatements)
    Builds a deep copy of XmlQcStatements NOTE: does not copy MRA content

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • XmlQcStatementsBuilder

      public XmlQcStatementsBuilder()
      Default constructor
  • Method Details

    • build

      public eu.europa.esig.dss.diagnostic.jaxb.XmlQcStatements build(eu.europa.esig.dss.model.x509.extension.QcStatements qcStatements)
      Builds the XmlQcStatements
      Parameters:
      qcStatements - QcStatements
      Returns:
      XmlQcStatements
    • buildXmlQcEuPSD

      public List<eu.europa.esig.dss.diagnostic.jaxb.XmlLangAndValue> buildXmlQcEuPSD(List<eu.europa.esig.dss.model.x509.extension.PdsLocation> qcEuPDS)
      Builds a list of XML QcEuPSDs
      Parameters:
      qcEuPDS - a list of PdsLocations
      Returns:
      a list of XmlLangAndValues
    • buildXmlQcSSCD

      public eu.europa.esig.dss.diagnostic.jaxb.XmlQcSSCD buildXmlQcSSCD(boolean present)
      Builds a XmlQcSSCD
      Parameters:
      present - TRUE if QSCD/SSCD is present, FALSE otherwise
      Returns:
      XmlQcSSCD
    • buildXmlQcCompliance

      public eu.europa.esig.dss.diagnostic.jaxb.XmlQcCompliance buildXmlQcCompliance(boolean present)
      Builds XmlQcCompliance
      Parameters:
      present - TRUE if QcCompliance is present, FALSE otherwise
      Returns:
      XmlQcCompliance
    • buildPSD2QcInfo

      public eu.europa.esig.dss.diagnostic.jaxb.XmlPSD2QcInfo buildPSD2QcInfo(eu.europa.esig.dss.model.x509.extension.PSD2QcType psd2QcStatement)
      Builds XmlPSD2QcInfo
      Parameters:
      psd2QcStatement - PSD2QcType
      Returns:
      XmlPSD2QcInfo
    • buildSemanticsIdentifier

      public eu.europa.esig.dss.diagnostic.jaxb.XmlOID buildSemanticsIdentifier(eu.europa.esig.dss.enumerations.OidDescription semanticsIdentifier)
      Builds Semantics Identifier XmlOID
      Parameters:
      semanticsIdentifier - OidDescription
      Returns:
      XmlOID
    • buildXmlQcTypes

      public List<eu.europa.esig.dss.diagnostic.jaxb.XmlOID> buildXmlQcTypes(List<eu.europa.esig.dss.enumerations.QCType> qcTypes)
      Builds a list of XML QcTypes
      Parameters:
      qcTypes - a list of QCTypes
      Returns:
      a list of XmlOIDs
    • buildQcEuLimitValue

      public eu.europa.esig.dss.diagnostic.jaxb.XmlQcEuLimitValue buildQcEuLimitValue(eu.europa.esig.dss.model.x509.extension.QCLimitValue qcLimitValue)
      Builds XmlQcEuLimitValue
      Parameters:
      qcLimitValue - QCLimitValue
      Returns:
      QCLimitValue
    • copy

      public eu.europa.esig.dss.diagnostic.jaxb.XmlQcStatements copy(eu.europa.esig.dss.diagnostic.jaxb.XmlQcStatements xmlQcStatements)
      Builds a deep copy of XmlQcStatements NOTE: does not copy MRA content
      Parameters:
      xmlQcStatements - XmlQcStatements to copy
      Returns:
      new XmlQcStatements