Google Cloud Binary Authorization V1 Client - Class PkixPublicKey (1.1.1) Stay organized with collections Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Binary Authorization V1 Client class PkixPublicKey.
A public key in the PkixPublicKey format (seehttps://tools.ietf.org/html/rfc5280#section-4.1.2.7 for details).
Public keys of this type are typically textually encoded using the PEMformat.
Generated from protobuf messagegoogle.cloud.binaryauthorization.v1.PkixPublicKey
Namespace
Google \ Cloud \ BinaryAuthorization \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data | arrayOptional. Data for populating the Message object. |
↳ public_key_pem | stringA PEM-encoded public key, as described inhttps://tools.ietf.org/html/rfc7468#section-13 |
↳ signature_algorithm | intThe 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 inhttps://tools.ietf.org/html/rfc7468#section-13
| Returns | |
|---|---|
| Type | Description |
string | |
setPublicKeyPem
A PEM-encoded public key, as described inhttps://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 usingthis key.
These signature algorithm must match the structure and any objectidentifiers encoded inpublic_key_pem (i.e. this algorithm must matchthat of the public key).
| Returns | |
|---|---|
| Type | Description |
int | Enum of typeSignatureAlgorithm. |
setSignatureAlgorithm
The signature algorithm used to verify a message against a signature usingthis key.
These signature algorithm must match the structure and any objectidentifiers encoded inpublic_key_pem (i.e. this algorithm must matchthat of the public key).
| Parameter | |
|---|---|
| Name | Description |
var | intEnum of typeSignatureAlgorithm. |
| Returns | |
|---|---|
| Type | Description |
$this | |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-30 UTC.