Package com.yubico.webauthn.data
Class RegistrationExtensionInputs
java.lang.Object
com.yubico.webauthn.data.RegistrationExtensionInputs
- All Implemented Interfaces:
ExtensionInputs
Contains client
extension inputs to a
navigator.credentials.create()
operation. All members are
optional.
The authenticator extension inputs are derived from these client extension inputs.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
boolean
Returns aSet
of the extension IDs for which an extension input is present.getPrf()
The input to the Pseudo-random function extension (prf
), if any.boolean
getUvm()
int
hashCode()
merge
(RegistrationExtensionInputs other) Mergeother
intothis
.toString()
-
Method Details
-
merge
Mergeother
intothis
. Non-null field values fromthis
take precedence.- Returns:
- a new
RegistrationExtensionInputs
instance with the settings from boththis
andother
.
-
getAppidExclude
- Returns:
- The value of the FIDO AppID Exclusion Extension (
appidExclude
) input if configured, empty otherwise. - See Also:
-
getCredProps
public boolean getCredProps()- Returns:
true
if the Credential Properties Extension (credProps
) is enabled,false
otherwise.- See Also:
-
getCredProtect
- Returns:
- The Credential Protection (
credProtect
) extension input, if set. - Since:
- 2.7.0
- See Also:
-
getLargeBlob
- Returns:
- The value of the Large blob storage extension (
largeBlob
) input if configured, empty otherwise. - See Also:
-
RegistrationExtensionInputs.RegistrationExtensionInputsBuilder.largeBlob(Extensions.LargeBlob.LargeBlobRegistrationInput)
RegistrationExtensionInputs.RegistrationExtensionInputsBuilder.largeBlob(Extensions.LargeBlob.LargeBlobRegistrationInput.LargeBlobSupport)
- §10.5. Large blob storage extension (largeBlob)
-
getPrf
The input to the Pseudo-random function extension (prf
), if any.This extension allows a Relying Party to evaluate outputs from a pseudo-random function (PRF) associated with a credential.
-
getUvm
public boolean getUvm()- Returns:
true
if the User Verification Method Extension (uvm
) is enabled,false
otherwise.- See Also:
-
getExtensionIds
Description copied from interface:ExtensionInputs
Returns aSet
of the extension IDs for which an extension input is present.- Specified by:
getExtensionIds
in interfaceExtensionInputs
- Returns:
- The extension identifiers of all extensions configured.
- See Also:
-
builder
-
toBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-