Cloud KMS V1 Client - Class WrappingPublicKey (2.1.0)

Reference documentation and code samples for the Cloud KMS V1 Client class WrappingPublicKey.

The public key component of the wrapping key. For details of the type of key this public key corresponds to, see the ImportMethod.

Generated from protobuf message google.cloud.kms.v1.ImportJob.WrappingPublicKey

Namespace

Google \ Cloud \ Kms \ V1 \ ImportJob

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ pem string

The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and Textual Encoding of Subject Public Key Info.

getPem

The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and Textual Encoding of Subject Public Key Info.

Returns
Type Description
string

setPem

The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and Textual Encoding of Subject Public Key Info.

Parameter
Name Description
var string
Returns
Type Description
$this