Google Certificate Authority Service V1 Client - Class KnownCertificateExtension (1.7.2)

Reference documentation and code samples for the Google Certificate Authority Service V1 Client class KnownCertificateExtension.

Describes well-known X.509 extensions that can appear in a Certificate, not including the SubjectAltNames extension.

Protobuf type google.cloud.security.privateca.v1.CertificateExtensionConstraints.KnownCertificateExtension

Namespace

Google \ Cloud \ Security \ PrivateCA \ V1 \ CertificateExtensionConstraints

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED

Value: 0

Not specified.

Generated from protobuf enum KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED = 0;

BASE_KEY_USAGE

Value: 1

Refers to a certificate's Key Usage extension, as described in RFC 5280 section 4.2.1.3.

This corresponds to the KeyUsage.base_key_usage field.

Generated from protobuf enum BASE_KEY_USAGE = 1;

EXTENDED_KEY_USAGE

Value: 2

Refers to a certificate's Extended Key Usage extension, as described in RFC 5280 section 4.2.1.12.

This corresponds to the KeyUsage.extended_key_usage message.

Generated from protobuf enum EXTENDED_KEY_USAGE = 2;

CA_OPTIONS

Value: 3

Refers to a certificate's Basic Constraints extension, as described in RFC 5280 section 4.2.1.9.

This corresponds to the [X509Parameters.ca_options][google.cloud.security.privateca.v1.X509Parameters.ca_options] field.

Generated from protobuf enum CA_OPTIONS = 3;

POLICY_IDS

Value: 4

Refers to a certificate's Policy object identifiers, as described in RFC 5280 section 4.2.1.4.

This corresponds to the [X509Parameters.policy_ids][google.cloud.security.privateca.v1.X509Parameters.policy_ids] field.

Generated from protobuf enum POLICY_IDS = 4;

AIA_OCSP_SERVERS

Value: 5

Refers to OCSP servers in a certificate's Authority Information Access extension, as described in RFC 5280 section 4.2.2.1, This corresponds to the [X509Parameters.aia_ocsp_servers][google.cloud.security.privateca.v1.X509Parameters.aia_ocsp_servers] field.

Generated from protobuf enum AIA_OCSP_SERVERS = 5;

NAME_CONSTRAINTS

Value: 6

Refers to Name Constraints extension as described in RFC 5280 section 4.2.1.10

Generated from protobuf enum NAME_CONSTRAINTS = 6;