Google Certificate Authority Service V1 Client - Class KeyId (1.7.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.CertificateConfig.KeyId

Namespace

Google \ Cloud \ Security \ PrivateCA \ V1 \ CertificateConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ key_id string

Required. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.

getKeyId

Required. 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

Required. 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