Interface Resources.PkixPublicKeyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resources.PkixPublicKey,Resources.PkixPublicKey.Builder
- Enclosing class:
- Resources
public static interface Resources.PkixPublicKeyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionA PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13com.google.protobuf.ByteStringA PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13The signature algorithm used to verify a message against a signature using this key.intThe signature algorithm used to verify a message against a signature using this key.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPublicKeyPem
String getPublicKeyPem()A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13
string public_key_pem = 1;- Returns:
- The publicKeyPem.
-
getPublicKeyPemBytes
com.google.protobuf.ByteString getPublicKeyPemBytes()A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13
string public_key_pem = 1;- Returns:
- The bytes for publicKeyPem.
-
getSignatureAlgorithmValue
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.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2;- Returns:
- The enum numeric value on the wire for signatureAlgorithm.
-
getSignatureAlgorithm
Resources.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.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2;- Returns:
- The signatureAlgorithm.
-