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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOtherOid(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 ofQCTypesbooleanGets if the certificate is qc-compliantbooleanisQcQSCD()Gets if the certificate is qc-qscdvoidsetPsd2QcType(PSD2QcType psd2QcType) Sets the psd2-qc-typevoidsetQcCompliance(boolean qcCompliance) Sets if the qc-compliance extension is presentvoidsetQcEuPDS(List<PdsLocation> qcEuPDS) Sets the qc-eu-pdsvoidsetQcEuRetentionPeriod(Integer qcEuRetentionPeriod) Sets the qc-eu-retention-periodvoidsetQcLegislationCountryCodes(List<String> qcLegislationCountryCodes) Sets qc-legislation-country-codesvoidsetQcLimitValue(QCLimitValue qcLimitValue) Sets the qc-limit-valuevoidsetQcQSCD(boolean qcQSCD) Sets if the certificate is qc-qscdvoidsetQcSemanticsIdentifier(SemanticsIdentifier qcSemanticsIdentifier) Sets the qc-semantics-identifiervoidsetQcTypes(List<QCType> qcTypes) Sets a list ofQCTypesMethods 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
PdsLocations
-
setQcEuPDS
Sets the qc-eu-pds- Parameters:
qcEuPDS- a list ofPdsLocations
-
getQcTypes
Gets a list ofQCTypes- Returns:
- a list of
QCTypes
-
setQcTypes
Sets a list ofQCTypes- Parameters:
qcTypes- a list ofQCTypes
-
getQcLegislationCountryCodes
Gets qc-legislation-country-codes- Returns:
- a list of
Stringcountry codes
-
setQcLegislationCountryCodes
Sets qc-legislation-country-codes- Parameters:
qcLegislationCountryCodes- a list ofStringcountry 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
-