Package com.google.cloud.kms.v1
Interface ChallengeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Challenge,Challenge.Builder
@Generated
public interface ChallengeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.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
-
getChallenge
com.google.protobuf.ByteString getChallenge()Output only. The challenge to be signed by the 2FA key indicated by the public key.
bytes challenge = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The challenge.
-
getPublicKeyPem
String getPublicKeyPem()Output only. The public key associated with the 2FA key that should sign the challenge.
string public_key_pem = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The publicKeyPem.
-
getPublicKeyPemBytes
com.google.protobuf.ByteString getPublicKeyPemBytes()Output only. The public key associated with the 2FA key that should sign the challenge.
string public_key_pem = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for publicKeyPem.
-