Package com.google.cloud.kms.v1
Interface ChallengeReplyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ChallengeReply,ChallengeReply.Builder
@Generated
public interface ChallengeReplyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.com.google.protobuf.ByteStringRequired.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
-
getSignedChallenge
com.google.protobuf.ByteString getSignedChallenge()Required. The signed challenge associated with the 2FA key. The signature must be RSASSA-PKCS1 v1.5 with a SHA256 digest.
bytes signed_challenge = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The signedChallenge.
-
getPublicKeyPem
String getPublicKeyPem()Required. The public key associated with the 2FA key.
string public_key_pem = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The publicKeyPem.
-
getPublicKeyPemBytes
com.google.protobuf.ByteString getPublicKeyPemBytes()Required. The public key associated with the 2FA key.
string public_key_pem = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for publicKeyPem.
-