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