Package eu.europa.esig.dss.validation
Class XmlQcStatementsBuilder
java.lang.Object
eu.europa.esig.dss.validation.XmlQcStatementsBuilder
This class is used to build a
XmlQcStatements object and enveloped objects-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioneu.europa.esig.dss.diagnostic.jaxb.XmlQcStatementsbuild(eu.europa.esig.dss.model.x509.extension.QcStatements qcStatements) Builds theXmlQcStatementseu.europa.esig.dss.diagnostic.jaxb.XmlPSD2QcInfobuildPSD2QcInfo(eu.europa.esig.dss.model.x509.extension.PSD2QcType psd2QcStatement) BuildsXmlPSD2QcInfoeu.europa.esig.dss.diagnostic.jaxb.XmlQcEuLimitValuebuildQcEuLimitValue(eu.europa.esig.dss.model.x509.extension.QCLimitValue qcLimitValue) BuildsXmlQcEuLimitValueeu.europa.esig.dss.diagnostic.jaxb.XmlOIDbuildSemanticsIdentifier(eu.europa.esig.dss.enumerations.OidDescription semanticsIdentifier) Builds Semantics IdentifierXmlOIDeu.europa.esig.dss.diagnostic.jaxb.XmlQcCompliancebuildXmlQcCompliance(boolean present) BuildsXmlQcComplianceList<eu.europa.esig.dss.diagnostic.jaxb.XmlLangAndValue>buildXmlQcEuPSD(List<eu.europa.esig.dss.model.x509.extension.PdsLocation> qcEuPDS) Builds a list of XML QcEuPSDseu.europa.esig.dss.diagnostic.jaxb.XmlQcSSCDbuildXmlQcSSCD(boolean present) Builds aXmlQcSSCDList<eu.europa.esig.dss.diagnostic.jaxb.XmlOID>buildXmlQcTypes(List<eu.europa.esig.dss.enumerations.QCType> qcTypes) Builds a list of XML QcTypeseu.europa.esig.dss.diagnostic.jaxb.XmlQcStatementscopy(eu.europa.esig.dss.diagnostic.jaxb.XmlQcStatements xmlQcStatements) Builds a deep copy ofXmlQcStatementsNOTE: does not copy MRA content
-
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 theXmlQcStatements- 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 ofPdsLocations- Returns:
- a list of
XmlLangAndValues
-
buildXmlQcSSCD
public eu.europa.esig.dss.diagnostic.jaxb.XmlQcSSCD buildXmlQcSSCD(boolean present) Builds aXmlQcSSCD- Parameters:
present- TRUE if QSCD/SSCD is present, FALSE otherwise- Returns:
XmlQcSSCD
-
buildXmlQcCompliance
public eu.europa.esig.dss.diagnostic.jaxb.XmlQcCompliance buildXmlQcCompliance(boolean present) BuildsXmlQcCompliance- 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) BuildsXmlPSD2QcInfo- Parameters:
psd2QcStatement-PSD2QcType- Returns:
XmlPSD2QcInfo
-
buildSemanticsIdentifier
public eu.europa.esig.dss.diagnostic.jaxb.XmlOID buildSemanticsIdentifier(eu.europa.esig.dss.enumerations.OidDescription semanticsIdentifier) Builds Semantics IdentifierXmlOID- 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 ofQCTypes- Returns:
- a list of
XmlOIDs
-
buildQcEuLimitValue
public eu.europa.esig.dss.diagnostic.jaxb.XmlQcEuLimitValue buildQcEuLimitValue(eu.europa.esig.dss.model.x509.extension.QCLimitValue qcLimitValue) BuildsXmlQcEuLimitValue- 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 ofXmlQcStatementsNOTE: does not copy MRA content- Parameters:
xmlQcStatements-XmlQcStatementsto copy- Returns:
- new
XmlQcStatements
-