Enum CertificateExtensionConstraints.KnownCertificateExtension

    • Enum Constant Detail

      • BASE_KEY_USAGE

        public static final CertificateExtensionConstraints.KnownCertificateExtension 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

        public static final CertificateExtensionConstraints.KnownCertificateExtension 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

        public static final CertificateExtensionConstraints.KnownCertificateExtension 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;
    • Field Detail

      • KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED_VALUE

        public static final int KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED_VALUE
         Not specified.
         
        KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
    • Method Detail

      • values

        public static CertificateExtensionConstraints.KnownCertificateExtension[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CertificateExtensionConstraints.KnownCertificateExtension c : CertificateExtensionConstraints.KnownCertificateExtension.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CertificateExtensionConstraints.KnownCertificateExtension 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
      • 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
        public static CertificateExtensionConstraints.KnownCertificateExtension valueOf​(int value)
        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
      • 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 final 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