Class QCTypeIdentifiers
java.lang.Object
eu.europa.esig.dss.validation.process.qualification.certificate.QCTypeIdentifiers
This class is used to check whether the given certificate contains qualification identifiers
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isQCTypeEseal
(CertificateWrapper certificate) Checks whether the certificate contains a QC for eSeal qualifier (oid "0.4.0.1862.1.6.2")static boolean
isQCTypeEsign
(CertificateWrapper certificate) Checks whether the certificate contains a QC for eSignature qualifier (oid "0.4.0.1862.1.6.1")static boolean
isQCTypeWeb
(CertificateWrapper certificate) Checks whether the certificate contains a QC for Web Authentication qualifier (oid "0.4.0.1862.1.6.3")
-
Method Details
-
isQCTypeEsign
Checks whether the certificate contains a QC for eSignature qualifier (oid "0.4.0.1862.1.6.1")- Parameters:
certificate
-CertificateWrapper
to check- Returns:
- TRUE if the certificate contains "qc-type-esign" qualifier, FALSE otherwise
-
isQCTypeEseal
Checks whether the certificate contains a QC for eSeal qualifier (oid "0.4.0.1862.1.6.2")- Parameters:
certificate
-CertificateWrapper
to check- Returns:
- TRUE if the certificate contains "qc-type-eseal" qualifier, FALSE otherwise
-
isQCTypeWeb
Checks whether the certificate contains a QC for Web Authentication qualifier (oid "0.4.0.1862.1.6.3")- Parameters:
certificate
-CertificateWrapper
to check- Returns:
- TRUE if the certificate contains "qc-type-web" qualifier, FALSE otherwise
-