Google Certificate Authority Service V1beta1 Client - Class ExtendedKeyUsageOptions (1.0.3)

Reference documentation and code samples for the Google Certificate Authority Service V1beta1 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.v1beta1.KeyUsage.ExtendedKeyUsageOptions

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
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
NameDescription
var bool
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var bool
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var bool
Returns
TypeDescription
$this

getEmailProtection

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

Returns
TypeDescription
bool

setEmailProtection

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var bool
Returns
TypeDescription
$this

getOcspSigning

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

Returns
TypeDescription
bool

setOcspSigning

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this