Enum CertificatePolicy

java.lang.Object
java.lang.Enum<CertificatePolicy>
eu.europa.esig.dss.enumerations.CertificatePolicy
All Implemented Interfaces:
OidBasedEnum, OidDescription, Serializable, Comparable<CertificatePolicy>

public enum CertificatePolicy extends Enum<CertificatePolicy> implements OidDescription
Certificate policies enumeration, as in ETSI TS 101 456
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    DVCP: Domain Validation Certificate Policy itu-t(0)identified-organization(4)etsi(0)other-certificate-policies(2042)policy-identifiers(1)dvcp(6)
    EVCP: Extended Validation Certificate Policy itu-t(0)identified-organization(4)etsi(0)other-certificate-policies(2042)policy-identifiers(1)evcp(4)
    IVCP: Individual Validation Certificate Policy itu-t(0)identified-organization(4)etsi(0)other-certificate-policies(2042)policy-identifiers(1)ivcp(8)
    LCP: Lightweight Certificate Policy itu-t(0)identified-organization(4)etsi(0)other-certificate-policies(2042)policy-identifiers(1)lcp(3)
    NCP: Normalized Certificate Policy itu-t(0) identified-organization(4) etsi(0) other-certificate-policies(2042) policy-identifiers(1) ncp (1)
    NCP+: Normalized Certificate Policy requiring a secure cryptographic device itu-t(0)identified-organization(4)etsi(0)other-certificate-policies(2042)policy-identifiers(1)ncpplus(2)
    OVCP: Organizational Validation Certificate Policy itu-t(0)identified-organization(4)etsi(0)other-certificate-policies(2042)policy-identifiers(1)ovcp(7)
    QCP-l: certificate policy for EU qualified certificates issued to legal persons; itu-t(0) identified-organization(4) etsi(0) qualified-certificate-policies(194112) policy-identifiers(1) qcp-legal (1)
    QCP-l-qscd: certificate policy for EU qualified certificates issued to legal persons with private key related to the certified public key in a QSCD; itu-t(0) identified-organization(4) etsi(0) qualified-certificate-policies(194112) policy-identifiers(1) qcp-legal-qscd (3)
    QCP-n: certificate policy for EU qualified certificates issued to natural persons; Itu-t(0) identified-organization(4) etsi(0) qualified-certificate-policies(194112) policy-identifiers(1) qcp-natural (0)
    QCP-n-qscd: certificate policy for EU qualified certificates issued to natural persons with private key related to the certified public key in a QSCD; Itu-t(0) identified-organization(4) etsi(0) qualified-certificate-policies(194112) policy-identifiers(1) qcp-natural-qscd (2)
    A certificate policy for qualified certificates issued to the public.
    A certificate policy for qualified certificates issued to the public, requiring use of secure signature-creation devices.
    QCP-w: certificate policy for EU qualified website authentication certificates; itu-t(0) identified-organization(4) etsi(0) qualified-certificate-policies(194112) policy-identifiers(1) qcp-web (4)
  • Method Summary

    Modifier and Type
    Method
    Description
    This method returns the literal description of the OID
    This method returns the OID value
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • QCP_PUBLIC

      public static final CertificatePolicy QCP_PUBLIC
      A certificate policy for qualified certificates issued to the public. {itu-t(0) identified-organization(4) etsi(0) qualified-certificate-policies(1456) policy-identifiers(1) qcp-public(2)}
    • QCP_PUBLIC_WITH_SSCD

      public static final CertificatePolicy QCP_PUBLIC_WITH_SSCD
      A certificate policy for qualified certificates issued to the public, requiring use of secure signature-creation devices. {itu-t(0) identified-organization(4) etsi(0) qualified-certificate-policies(1456) policy-identifiers(1) qcp-public-with-sscd(1)}
    • NCP

      public static final CertificatePolicy NCP
      NCP: Normalized Certificate Policy itu-t(0) identified-organization(4) etsi(0) other-certificate-policies(2042) policy-identifiers(1) ncp (1)
    • NCPP

      public static final CertificatePolicy NCPP
      NCP+: Normalized Certificate Policy requiring a secure cryptographic device itu-t(0)identified-organization(4)etsi(0)other-certificate-policies(2042)policy-identifiers(1)ncpplus(2)
    • LCP

      public static final CertificatePolicy LCP
      LCP: Lightweight Certificate Policy itu-t(0)identified-organization(4)etsi(0)other-certificate-policies(2042)policy-identifiers(1)lcp(3)
    • EVCP

      public static final CertificatePolicy EVCP
      EVCP: Extended Validation Certificate Policy itu-t(0)identified-organization(4)etsi(0)other-certificate-policies(2042)policy-identifiers(1)evcp(4)
    • DVCP

      public static final CertificatePolicy DVCP
      DVCP: Domain Validation Certificate Policy itu-t(0)identified-organization(4)etsi(0)other-certificate-policies(2042)policy-identifiers(1)dvcp(6)
    • OVCP

      public static final CertificatePolicy OVCP
      OVCP: Organizational Validation Certificate Policy itu-t(0)identified-organization(4)etsi(0)other-certificate-policies(2042)policy-identifiers(1)ovcp(7)
    • IVCP

      public static final CertificatePolicy IVCP
      IVCP: Individual Validation Certificate Policy itu-t(0)identified-organization(4)etsi(0)other-certificate-policies(2042)policy-identifiers(1)ivcp(8)
    • QCP_NATURAL

      public static final CertificatePolicy QCP_NATURAL
      QCP-n: certificate policy for EU qualified certificates issued to natural persons; Itu-t(0) identified-organization(4) etsi(0) qualified-certificate-policies(194112) policy-identifiers(1) qcp-natural (0)
    • QCP_NATURAL_QSCD

      public static final CertificatePolicy QCP_NATURAL_QSCD
      QCP-n-qscd: certificate policy for EU qualified certificates issued to natural persons with private key related to the certified public key in a QSCD; Itu-t(0) identified-organization(4) etsi(0) qualified-certificate-policies(194112) policy-identifiers(1) qcp-natural-qscd (2)
    • QCP_WEB

      public static final CertificatePolicy QCP_WEB
      QCP-w: certificate policy for EU qualified website authentication certificates; itu-t(0) identified-organization(4) etsi(0) qualified-certificate-policies(194112) policy-identifiers(1) qcp-web (4)
  • Method Details

    • values

      public static CertificatePolicy[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static CertificatePolicy valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getOid

      public String getOid()
      Description copied from interface: OidBasedEnum
      This method returns the OID value
      Specified by:
      getOid in interface OidBasedEnum
      Returns:
      the OID value
    • getDescription

      public String getDescription()
      Description copied from interface: OidDescription
      This method returns the literal description of the OID
      Specified by:
      getDescription in interface OidDescription
      Returns:
      the OID description