java.lang.Object
eu.europa.esig.dss.validation.process.qualification.certificate.QCTypeIdentifiers

public final class QCTypeIdentifiers extends Object
This class is used to check whether the given certificate contains qualification identifiers
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    isQCTypeEseal(eu.europa.esig.dss.diagnostic.CertificateWrapper certificate)
    Checks whether the certificate contains a QC for eSeal qualifier (oid "0.4.0.1862.1.6.2")
    static boolean
    isQCTypeEsign(eu.europa.esig.dss.diagnostic.CertificateWrapper certificate)
    Checks whether the certificate contains a QC for eSignature qualifier (oid "0.4.0.1862.1.6.1")
    static boolean
    isQCTypeWeb(eu.europa.esig.dss.diagnostic.CertificateWrapper certificate)
    Checks whether the certificate contains a QC for Web Authentication qualifier (oid "0.4.0.1862.1.6.3")

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • isQCTypeEsign

      public static boolean isQCTypeEsign(eu.europa.esig.dss.diagnostic.CertificateWrapper certificate)
      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

      public static boolean isQCTypeEseal(eu.europa.esig.dss.diagnostic.CertificateWrapper certificate)
      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

      public static boolean isQCTypeWeb(eu.europa.esig.dss.diagnostic.CertificateWrapper certificate)
      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