Class QcStatements
java.lang.Object
eu.europa.esig.dss.model.x509.extension.CertificateExtension
eu.europa.esig.dss.model.x509.extension.QcStatements
- All Implemented Interfaces:
OidBasedEnum
,OidDescription
,Serializable
This class contains the QcStatement information based on ETSI EN 319 412-1/5 and ETSI TS 119 495
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addOtherOid
(String oid) Adds a found OID not supported by the implementationThis method returns a list of found OIDs not supported by the current implementationGets the psd2-qc-typeGets the qc-eu-pdsGets the qc-eu-retention-periodGets qc-legislation-country-codesGets the qc-limit-valueGets the qc-semantics-identifierGets a list ofQCType
sboolean
Gets if the certificate is qc-compliantboolean
isQcQSCD()
Gets if the certificate is qc-qscdvoid
setPsd2QcType
(PSD2QcType psd2QcType) Sets the psd2-qc-typevoid
setQcCompliance
(boolean qcCompliance) Sets if the qc-compliance extension is presentvoid
setQcEuPDS
(List<PdsLocation> qcEuPDS) Sets the qc-eu-pdsvoid
setQcEuRetentionPeriod
(Integer qcEuRetentionPeriod) Sets the qc-eu-retention-periodvoid
setQcLegislationCountryCodes
(List<String> qcLegislationCountryCodes) Sets qc-legislation-country-codesvoid
setQcLimitValue
(QCLimitValue qcLimitValue) Sets the qc-limit-valuevoid
setQcQSCD
(boolean qcQSCD) Sets if the certificate is qc-qscdvoid
setQcSemanticsIdentifier
(SemanticsIdentifier qcSemanticsIdentifier) Sets the qc-semantics-identifiervoid
setQcTypes
(List<QCType> qcTypes) Sets a list ofQCType
sMethods inherited from class eu.europa.esig.dss.model.x509.extension.CertificateExtension
checkCritical, getDescription, getOctets, getOid, isCritical, setOctets
-
Constructor Details
-
QcStatements
public QcStatements()Default constructor instantiating object with null values
-
-
Method Details
-
isQcCompliance
public boolean isQcCompliance()Gets if the certificate is qc-compliant- Returns:
- TRUE if qc-compliance extension is present, FALSE otherwise
-
setQcCompliance
public void setQcCompliance(boolean qcCompliance) Sets if the qc-compliance extension is present- Parameters:
qcCompliance
- if qc-compliance extension is present
-
getQcLimitValue
-
setQcLimitValue
Sets the qc-limit-value- Parameters:
qcLimitValue
-QCLimitValue
-
getQcEuRetentionPeriod
-
setQcEuRetentionPeriod
-
isQcQSCD
public boolean isQcQSCD()Gets if the certificate is qc-qscd- Returns:
- TRUE if the qc-qscd extension is present, FALSE otherwise
-
setQcQSCD
public void setQcQSCD(boolean qcQSCD) Sets if the certificate is qc-qscd- Parameters:
qcQSCD
- if the qc-qscd extension is present
-
getQcEuPDS
-
setQcEuPDS
Sets the qc-eu-pds- Parameters:
qcEuPDS
- a list ofPdsLocation
s
-
getQcTypes
-
setQcTypes
-
getQcLegislationCountryCodes
-
setQcLegislationCountryCodes
-
getQcSemanticsIdentifier
Gets the qc-semantics-identifier- Returns:
SemanticsIdentifier
-
setQcSemanticsIdentifier
Sets the qc-semantics-identifier- Parameters:
qcSemanticsIdentifier
-SemanticsIdentifier
-
getPsd2QcType
-
setPsd2QcType
Sets the psd2-qc-type- Parameters:
psd2QcType
-PSD2QcType
-
getOtherOids
-
addOtherOid
-