Google Certificate Authority Service V1 Client - Class KeyId (1.3.1)

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 \ CertificateDescription

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ key_id string

Optional. 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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this