Interface ChallengeReplyOrBuilder (2.86.0)

public interface ChallengeReplyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPublicKeyPem()

public abstract String getPublicKeyPem()

Required. The public key associated with the 2FA key.

string public_key_pem = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The publicKeyPem.

getPublicKeyPemBytes()

public abstract ByteString getPublicKeyPemBytes()

Required. The public key associated with the 2FA key.

string public_key_pem = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for publicKeyPem.

getSignedChallenge()

public abstract 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
Type Description
ByteString

The signedChallenge.