Module jpms_dss_validation
Class CertificatePolicyIdentifiers
java.lang.Object
eu.europa.esig.dss.validation.process.CertificatePolicyIdentifiers
Contain util methods for certificate policy identifiers checks
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisLegal(eu.europa.esig.dss.diagnostic.CertificateWrapper certificate) Checks if the certificate is legal QCPstatic booleanisNatural(eu.europa.esig.dss.diagnostic.CertificateWrapper certificate) Checks if the certificate is natural QCPstatic booleanisQCP(eu.europa.esig.dss.diagnostic.CertificateWrapper certificate) Checks if the certificate is QCPstatic booleanisQCPPlus(eu.europa.esig.dss.diagnostic.CertificateWrapper certificate) Checks if the certificate is QCP with SSCDstatic booleanisSupportedByQSCD(eu.europa.esig.dss.diagnostic.CertificateWrapper certificate) Checks if the certificate if supported by QSCD
-
Method Details
-
isSupportedByQSCD
public static boolean isSupportedByQSCD(eu.europa.esig.dss.diagnostic.CertificateWrapper certificate) Checks if the certificate if supported by QSCD- Parameters:
certificate-CertificateWrapper- Returns:
- TRUE if the certificate is supported by QSCD, FALSE otherwise
-
isQCP
public static boolean isQCP(eu.europa.esig.dss.diagnostic.CertificateWrapper certificate) Checks if the certificate is QCP- Parameters:
certificate-CertificateWrapper- Returns:
- TRUE if the certificate is QCP, FALSE otherwise
-
isQCPPlus
public static boolean isQCPPlus(eu.europa.esig.dss.diagnostic.CertificateWrapper certificate) Checks if the certificate is QCP with SSCD- Parameters:
certificate-CertificateWrapper- Returns:
- TRUE if the certificate is QCP with SSCD, FALSE otherwise
-
isLegal
public static boolean isLegal(eu.europa.esig.dss.diagnostic.CertificateWrapper certificate) Checks if the certificate is legal QCP- Parameters:
certificate-CertificateWrapper- Returns:
- TRUE if the certificate is legal QCP, FALSE otherwise
-
isNatural
public static boolean isNatural(eu.europa.esig.dss.diagnostic.CertificateWrapper certificate) Checks if the certificate is natural QCP- Parameters:
certificate-CertificateWrapper- Returns:
- TRUE if the certificate is natural QCP, FALSE otherwise
-