Google Certificate Authority Service V1 Client - Class ExtendedKeyUsageOptions (2.0.2)

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

KeyUsage.ExtendedKeyUsageOptions has fields that correspond to certain common OIDs that could be specified as an extended key usage value.

Generated from protobuf message google.cloud.security.privateca.v1.KeyUsage.ExtendedKeyUsageOptions

Namespace

Google \ Cloud \ Security \ PrivateCA \ V1 \ KeyUsage

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ server_auth bool

Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", though regularly used for non-WWW TLS.

↳ client_auth bool

Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", though regularly used for non-WWW TLS.

↳ code_signing bool

Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable executable code client authentication".

↳ email_protection bool

Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection".

↳ time_stamping bool

Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to a time".

↳ ocsp_signing bool

Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses".

getServerAuth

Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", though regularly used for non-WWW TLS.

Returns
Type Description
bool

setServerAuth

Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", though regularly used for non-WWW TLS.

Parameter
Name Description
var bool
Returns
Type Description
$this

getClientAuth

Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", though regularly used for non-WWW TLS.

Returns
Type Description
bool

setClientAuth

Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", though regularly used for non-WWW TLS.

Parameter
Name Description
var bool
Returns
Type Description
$this

getCodeSigning

Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable executable code client authentication".

Returns
Type Description
bool

setCodeSigning

Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable executable code client authentication".

Parameter
Name Description
var bool
Returns
Type Description
$this

getEmailProtection

Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection".

Returns
Type Description
bool

setEmailProtection

Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection".

Parameter
Name Description
var bool
Returns
Type Description
$this

getTimeStamping

Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to a time".

Returns
Type Description
bool

setTimeStamping

Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to a time".

Parameter
Name Description
var bool
Returns
Type Description
$this

getOcspSigning

Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses".

Returns
Type Description
bool

setOcspSigning

Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses".

Parameter
Name Description
var bool
Returns
Type Description
$this