Interface Resources.PkixPublicKeyOrBuilder (1.52.0)

publicstaticinterface Resources.PkixPublicKeyOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getPublicKeyPem()

publicabstractStringgetPublicKeyPem()

A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13

string public_key_pem = 1;

Returns
Type Description
String

The publicKeyPem.

getPublicKeyPemBytes()

publicabstractByteStringgetPublicKeyPemBytes()

A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13

string public_key_pem = 1;

Returns
Type Description
ByteString

The bytes for publicKeyPem.

getSignatureAlgorithm()

publicabstractResources.PkixPublicKey.SignatureAlgorithmgetSignatureAlgorithm()

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).

.google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2;

Returns
Type Description
Resources.PkixPublicKey.SignatureAlgorithm

The signatureAlgorithm.

getSignatureAlgorithmValue()

publicabstractintgetSignatureAlgorithmValue()

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).

.google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2;

Returns
Type Description
int

The enum numeric value on the wire for signatureAlgorithm.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.