Google Certificate Authority Service V1 Client - Class PublicKey (2.1.1)

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

A PublicKey describes a public key.

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

Namespace

Google \ Cloud \ Security \ PrivateCA \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ key
string

Required. A public key. The padding and encoding must match with the KeyFormat value specified for the format field.

↳ format
int

Required. The format of the public key.

getKey

Required. A public key. The padding and encoding must match with the KeyFormat value specified for the format field.

Returns
Type
Description
string

setKey

Required. A public key. The padding and encoding must match with the KeyFormat value specified for the format field.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getFormat

Required. The format of the public key.

Returns
Type
Description
int

setFormat

Required. The format of the public key.

Parameter
Name
Description
var
int
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: