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
Gets the qc-limit-value- Returns:
QCLimitValue
-
setQcLimitValue
Sets the qc-limit-value- Parameters:
qcLimitValue
-QCLimitValue
-
getQcEuRetentionPeriod
Gets the qc-eu-retention-period- Returns:
Integer
-
setQcEuRetentionPeriod
Sets the qc-eu-retention-period- Parameters:
qcEuRetentionPeriod
-Integer
-
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
Gets the qc-eu-pds- Returns:
- a list of
PdsLocation
s
-
setQcEuPDS
Sets the qc-eu-pds- Parameters:
qcEuPDS
- a list ofPdsLocation
s
-
getQcTypes
Gets a list ofQCType
s- Returns:
- a list of
QCType
s
-
setQcTypes
Sets a list ofQCType
s- Parameters:
qcTypes
- a list ofQCType
s
-
getQcLegislationCountryCodes
Gets qc-legislation-country-codes- Returns:
- a list of
String
country codes
-
setQcLegislationCountryCodes
Sets qc-legislation-country-codes- Parameters:
qcLegislationCountryCodes
- a list ofString
country codes
-
getQcSemanticsIdentifier
Gets the qc-semantics-identifier- Returns:
SemanticsIdentifier
-
setQcSemanticsIdentifier
Sets the qc-semantics-identifier- Parameters:
qcSemanticsIdentifier
-SemanticsIdentifier
-
getPsd2QcType
Gets the psd2-qc-type- Returns:
PSD2QcType
-
setPsd2QcType
Sets the psd2-qc-type- Parameters:
psd2QcType
-PSD2QcType
-
getOtherOids
This method returns a list of found OIDs not supported by the current implementation- Returns:
- a list of
String
-
addOtherOid
Adds a found OID not supported by the implementation- Parameters:
oid
-String
-