Google Certificate Authority Service V1beta1 Client - Class PublicKey (1.4.2)

Reference documentation and code samples for the Google Certificate Authority Service V1beta1 Client class PublicKey.

A PublicKey describes a public key.

Generated from protobuf message google.cloud.security.privateca.v1beta1.PublicKey

Namespace

Google \ Cloud \ Security \ PrivateCA \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ type int

Required. The type of public key.

↳ key string

Required. A public key. Padding and encoding varies by 'KeyType' and is described along with the KeyType values.

getType

Required. The type of public key.

Returns
TypeDescription
int

setType

Required. The type of public key.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getKey

Required. A public key. Padding and encoding varies by 'KeyType' and is described along with the KeyType values.

Returns
TypeDescription
string

setKey

Required. A public key. Padding and encoding varies by 'KeyType' and is described along with the KeyType values.

Parameter
NameDescription
var string
Returns
TypeDescription
$this