Reference documentation and code samples for the Google Certificate Authority Service V1beta1 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.v1beta1.KeyUsage
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ base_key_usage
Google\Cloud\Security\PrivateCA\V1beta1\KeyUsage\KeyUsageOptions
Describes high-level ways in which a key may be used.
↳ extended_key_usage
Google\Cloud\Security\PrivateCA\V1beta1\KeyUsage\ExtendedKeyUsageOptions
Detailed scenarios in which a key may be used.
↳ unknown_extended_key_usages
array< Google\Cloud\Security\PrivateCA\V1beta1\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