Interface PkixPublicKeyOrBuilder (1.40.0)

public interface PkixPublicKeyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPublicKeyPem()

public abstract String getPublicKeyPem()

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

string public_key_pem = 1;

Returns
TypeDescription
String

The publicKeyPem.

getPublicKeyPemBytes()

public abstract ByteString getPublicKeyPemBytes()

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

string public_key_pem = 1;

Returns
TypeDescription
ByteString

The bytes for publicKeyPem.

getSignatureAlgorithm()

public abstract PkixPublicKey.SignatureAlgorithm 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).

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

Returns
TypeDescription
PkixPublicKey.SignatureAlgorithm

The signatureAlgorithm.

getSignatureAlgorithmValue()

public abstract int getSignatureAlgorithmValue()

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.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for signatureAlgorithm.