SignRequestParams.Builder | Doclava
public static final class

SignRequestParams.Builder

extends Object
java.lang.Object
   ↳ com.google.android.gms.fido.u2f.api.common.SignRequestParams.Builder

Class Overview

Builds SignRequestParams.

Summary

Public Constructors
SignRequestParams.Builder()
Creates an empty builder.
Public Methods
SignRequestParams build()
SignRequestParams.Builder setAppId(Uri appId)
Sets appId.
SignRequestParams.Builder setChannelIdValue(ChannelIdValue channelIdValue)
Sets channelId value.
SignRequestParams.Builder setDefaultSignChallenge(byte[] defaultSignChallenge)
Sets default sign challenge.
SignRequestParams.Builder setDisplayHint(String displayHint)
Sets the display hint that is shown to the user.
SignRequestParams.Builder setRegisteredKeys(List<RegisteredKey> registeredKeys)
Sets registered keys.
SignRequestParams.Builder setRequestId(Integer requestId)
Sets the request id.
SignRequestParams.Builder setTimeoutSeconds(Double timeoutSeconds)
Sets timeout in seconds.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SignRequestParams.Builder ()

Creates an empty builder.

Public Methods

public SignRequestParams build ()

public SignRequestParams.Builder setAppId (Uri appId)

Sets appId.

Parameters
appId Uri

Returns
SignRequestParams.Builder

public SignRequestParams.Builder setChannelIdValue (ChannelIdValue channelIdValue)

Sets channelId value.

Parameters
channelIdValue ChannelIdValue

Returns
SignRequestParams.Builder

public SignRequestParams.Builder setDefaultSignChallenge (byte[] defaultSignChallenge)

Sets default sign challenge.

Parameters
defaultSignChallenge byte

Returns
SignRequestParams.Builder

public SignRequestParams.Builder setDisplayHint (String displayHint)

Sets the display hint that is shown to the user. Note that if not null, the string should not be longer than MAX_DISPLAY_HINT_LENGTH characters.

Parameters
displayHint String

Returns
SignRequestParams.Builder

public SignRequestParams.Builder setRegisteredKeys (List<RegisteredKey> registeredKeys)

Sets registered keys.

Parameters
registeredKeys List

Returns
SignRequestParams.Builder

public SignRequestParams.Builder setRequestId (Integer requestId)

Sets the request id.

Parameters
requestId Integer

Returns
SignRequestParams.Builder

public SignRequestParams.Builder setTimeoutSeconds (Double timeoutSeconds)

Sets timeout in seconds.

Parameters
timeoutSeconds Double

Returns
SignRequestParams.Builder