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

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
Name Description
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
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