Enum CertificateExtensionConstraints.KnownCertificateExtension

java.lang.Object
java.lang.Enum<CertificateExtensionConstraints.KnownCertificateExtension>
com.google.cloud.security.privateca.v1.CertificateExtensionConstraints.KnownCertificateExtension
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<CertificateExtensionConstraints.KnownCertificateExtension>
Enclosing class:
CertificateExtensionConstraints

public static enum CertificateExtensionConstraints.KnownCertificateExtension extends Enum<CertificateExtensionConstraints.KnownCertificateExtension> implements com.google.protobuf.ProtocolMessageEnum
 Describes well-known X.509 extensions that can appear in a
 [Certificate][google.cloud.security.privateca.v1.Certificate], not
 including the
 [SubjectAltNames][google.cloud.security.privateca.v1.SubjectAltNames]
 extension.
 
Protobuf enum google.cloud.security.privateca.v1.CertificateExtensionConstraints.KnownCertificateExtension
  • Enum Constant Details

    • KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED

      public static final CertificateExtensionConstraints.KnownCertificateExtension KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED
       Not specified.
       
      KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED = 0;
    • BASE_KEY_USAGE

       Refers to a certificate's Key Usage extension, as described in [RFC 5280
       section 4.2.1.3](https://tools.ietf.org/html/rfc5280#section-4.2.1.3).
       This corresponds to the
       [KeyUsage.base_key_usage][google.cloud.security.privateca.v1.KeyUsage.base_key_usage]
       field.
       
      BASE_KEY_USAGE = 1;
    • EXTENDED_KEY_USAGE

      public static final CertificateExtensionConstraints.KnownCertificateExtension EXTENDED_KEY_USAGE
       Refers to a certificate's Extended Key Usage extension, as described in
       [RFC 5280
       section 4.2.1.12](https://tools.ietf.org/html/rfc5280#section-4.2.1.12).
       This corresponds to the
       [KeyUsage.extended_key_usage][google.cloud.security.privateca.v1.KeyUsage.extended_key_usage]
       message.
       
      EXTENDED_KEY_USAGE = 2;
    • CA_OPTIONS

       Refers to a certificate's Basic Constraints extension, as described in
       [RFC 5280
       section 4.2.1.9](https://tools.ietf.org/html/rfc5280#section-4.2.1.9).
       This corresponds to the
       [X509Parameters.ca_options][google.cloud.security.privateca.v1.X509Parameters.ca_options]
       field.
       
      CA_OPTIONS = 3;
    • POLICY_IDS

       Refers to a certificate's Policy object identifiers, as described in
       [RFC 5280
       section 4.2.1.4](https://tools.ietf.org/html/rfc5280#section-4.2.1.4).
       This corresponds to the
       [X509Parameters.policy_ids][google.cloud.security.privateca.v1.X509Parameters.policy_ids]
       field.
       
      POLICY_IDS = 4;
    • AIA_OCSP_SERVERS

      public static final CertificateExtensionConstraints.KnownCertificateExtension AIA_OCSP_SERVERS
       Refers to OCSP servers in a certificate's Authority Information Access
       extension, as described in
       [RFC 5280
       section 4.2.2.1](https://tools.ietf.org/html/rfc5280#section-4.2.2.1),
       This corresponds to the
       [X509Parameters.aia_ocsp_servers][google.cloud.security.privateca.v1.X509Parameters.aia_ocsp_servers]
       field.
       
      AIA_OCSP_SERVERS = 5;
    • NAME_CONSTRAINTS

      public static final CertificateExtensionConstraints.KnownCertificateExtension NAME_CONSTRAINTS
       Refers to Name Constraints extension as described in
       [RFC 5280
       section 4.2.1.10](https://tools.ietf.org/html/rfc5280#section-4.2.1.10)
       
      NAME_CONSTRAINTS = 6;
    • UNRECOGNIZED

  • Field Details

    • KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED_VALUE

      public static final int KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED_VALUE
       Not specified.
       
      KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED = 0;
      See Also:
    • BASE_KEY_USAGE_VALUE

      public static final int BASE_KEY_USAGE_VALUE
       Refers to a certificate's Key Usage extension, as described in [RFC 5280
       section 4.2.1.3](https://tools.ietf.org/html/rfc5280#section-4.2.1.3).
       This corresponds to the
       [KeyUsage.base_key_usage][google.cloud.security.privateca.v1.KeyUsage.base_key_usage]
       field.
       
      BASE_KEY_USAGE = 1;
      See Also:
    • EXTENDED_KEY_USAGE_VALUE

      public static final int EXTENDED_KEY_USAGE_VALUE
       Refers to a certificate's Extended Key Usage extension, as described in
       [RFC 5280
       section 4.2.1.12](https://tools.ietf.org/html/rfc5280#section-4.2.1.12).
       This corresponds to the
       [KeyUsage.extended_key_usage][google.cloud.security.privateca.v1.KeyUsage.extended_key_usage]
       message.
       
      EXTENDED_KEY_USAGE = 2;
      See Also:
    • CA_OPTIONS_VALUE

      public static final int CA_OPTIONS_VALUE
       Refers to a certificate's Basic Constraints extension, as described in
       [RFC 5280
       section 4.2.1.9](https://tools.ietf.org/html/rfc5280#section-4.2.1.9).
       This corresponds to the
       [X509Parameters.ca_options][google.cloud.security.privateca.v1.X509Parameters.ca_options]
       field.
       
      CA_OPTIONS = 3;
      See Also:
    • POLICY_IDS_VALUE

      public static final int POLICY_IDS_VALUE
       Refers to a certificate's Policy object identifiers, as described in
       [RFC 5280
       section 4.2.1.4](https://tools.ietf.org/html/rfc5280#section-4.2.1.4).
       This corresponds to the
       [X509Parameters.policy_ids][google.cloud.security.privateca.v1.X509Parameters.policy_ids]
       field.
       
      POLICY_IDS = 4;
      See Also:
    • AIA_OCSP_SERVERS_VALUE

      public static final int AIA_OCSP_SERVERS_VALUE
       Refers to OCSP servers in a certificate's Authority Information Access
       extension, as described in
       [RFC 5280
       section 4.2.2.1](https://tools.ietf.org/html/rfc5280#section-4.2.2.1),
       This corresponds to the
       [X509Parameters.aia_ocsp_servers][google.cloud.security.privateca.v1.X509Parameters.aia_ocsp_servers]
       field.
       
      AIA_OCSP_SERVERS = 5;
      See Also:
    • NAME_CONSTRAINTS_VALUE

      public static final int NAME_CONSTRAINTS_VALUE
       Refers to Name Constraints extension as described in
       [RFC 5280
       section 4.2.1.10](https://tools.ietf.org/html/rfc5280#section-4.2.1.10)
       
      NAME_CONSTRAINTS = 6;
      See Also:
  • Method Details

    • 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

      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
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      Deprecated.
      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:
      value - 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
    • forNumber

      public static CertificateExtensionConstraints.KnownCertificateExtension forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<CertificateExtensionConstraints.KnownCertificateExtension> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static CertificateExtensionConstraints.KnownCertificateExtension valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      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:
      desc - 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