Reference documentation and code samples for the Google Certificate Authority Service V1 Client class KeyUsage.
A KeyUsage describes key usage values that may appear in an X.509 certificate.
Generated from protobuf message google.cloud.security.privateca.v1.KeyUsage
Namespace
Google \ Cloud \ Security \ PrivateCA \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ base_key_usage
↳ extended_key_usage
↳ unknown_extended_key_usages
array< ObjectId
>
Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
getBaseKeyUsage
Describes high-level ways in which a key may be used.
hasBaseKeyUsage
clearBaseKeyUsage
setBaseKeyUsage
Describes high-level ways in which a key may be used.
$this
getExtendedKeyUsage
Detailed scenarios in which a key may be used.
hasExtendedKeyUsage
clearExtendedKeyUsage
setExtendedKeyUsage
Detailed scenarios in which a key may be used.
$this
getUnknownExtendedKeyUsages
Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
setUnknownExtendedKeyUsages
Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
$this