Class CertificatePolicyIdentifiers

java.lang.Object
eu.europa.esig.dss.validation.process.CertificatePolicyIdentifiers

public final class CertificatePolicyIdentifiers extends Object
Contain util methods for certificate policy identifiers checks
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    isLegal(eu.europa.esig.dss.diagnostic.CertificateWrapper certificate)
    Checks if the certificate is legal QCP
    static boolean
    isNatural(eu.europa.esig.dss.diagnostic.CertificateWrapper certificate)
    Checks if the certificate is natural QCP
    static boolean
    isQCP(eu.europa.esig.dss.diagnostic.CertificateWrapper certificate)
    Checks if the certificate is QCP
    static boolean
    isQCPPlus(eu.europa.esig.dss.diagnostic.CertificateWrapper certificate)
    Checks if the certificate is QCP with SSCD
    static boolean
    isSupportedByQSCD(eu.europa.esig.dss.diagnostic.CertificateWrapper certificate)
    Checks if the certificate if supported by QSCD

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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