Reference documentation and code samples for the Google Cloud Binary Authorization V1beta1 Client class PkixPublicKey.
A public key in the PkixPublicKey format (see https://tools.ietf.org/html/rfc5280#section-4.1.2.7 for details).
Public keys of this type are typically textually encoded using the PEM format.
Generated from protobuf message google.cloud.binaryauthorization.v1beta1.PkixPublicKey
Namespace
Google \ Cloud \ BinaryAuthorization \ V1beta1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ public_key_pem |
string
A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13 |
↳ signature_algorithm |
int
The signature algorithm used to verify a message against a signature using this key. These signature algorithm must match the structure and any object identifiers encoded in |
getPublicKeyPem
A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13
Returns | |
---|---|
Type | Description |
string |
setPublicKeyPem
A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSignatureAlgorithm
The signature algorithm used to verify a message against a signature using this key.
These signature algorithm must match the structure and any object
identifiers encoded in public_key_pem
(i.e. this algorithm must match
that of the public key).
Returns | |
---|---|
Type | Description |
int |
setSignatureAlgorithm
The signature algorithm used to verify a message against a signature using this key.
These signature algorithm must match the structure and any object
identifiers encoded in public_key_pem
(i.e. this algorithm must match
that of the public key).
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |