Reference documentation and code samples for the Google Certificate Authority Service V1 Client class KeyId.
A KeyId identifies a specific public key, usually by hashing the public key.
Generated from protobuf message google.cloud.security.privateca.v1.CertificateDescription.KeyId
Namespace
Google \ Cloud \ Security \ PrivateCA \ V1 \ CertificateDescriptionMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ key_id | stringOptional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key. | 
getKeyId
Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.
| Returns | |
|---|---|
| Type | Description | 
| string | |
setKeyId
Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |