Class RegistrationExtensionInputs.RegistrationExtensionInputsBuilder
- Enclosing class:
- RegistrationExtensionInputs
-
Method Summary
Modifier and TypeMethodDescriptionappidExclude
(AppId appidExclude) Enable the FIDO AppID Exclusion Extension (appidExclude
).appidExclude
(Optional<AppId> appidExclude) Enable or disable the FIDO AppID Exclusion Extension (appidExclude
).build()
Enable the Credential Properties (credProps
) Extension.Enable or disable the Credential Properties (credProps
) Extension.Enable the Credential Protection (credProtect
) extension.Enable or disable the Credential Protection (credProtect
) extension.Enable the Large blob storage extension (largeBlob
).Enable the Large blob storage extension (largeBlob
).Enable the Pseudo-random function extension (prf
).toString()
uvm()
Enable the User Verification Method Extension (uvm
).
-
Method Details
-
appidExclude
public RegistrationExtensionInputs.RegistrationExtensionInputsBuilder appidExclude(Optional<AppId> appidExclude) Enable or disable the FIDO AppID Exclusion Extension (appidExclude
).You usually do not need to call this method explicitly; if
RelyingParty.getAppId()
is present, thenRelyingParty.startRegistration(StartRegistrationOptions)
will enable this extension automatically.If this is set to empty, then
RelyingParty.startRegistration(StartRegistrationOptions)
may overwrite it. -
appidExclude
public RegistrationExtensionInputs.RegistrationExtensionInputsBuilder appidExclude(AppId appidExclude) Enable the FIDO AppID Exclusion Extension (appidExclude
).You usually do not need to call this method explicitly; if
RelyingParty.getAppId()
is present, thenRelyingParty.startRegistration(StartRegistrationOptions)
will enable this extension automatically.If this is set to null, then
RelyingParty.startRegistration(StartRegistrationOptions)
may overwrite it. -
credProps
Enable the Credential Properties (credProps
) Extension. -
credProps
Enable or disable the Credential Properties (credProps
) Extension.A
true
argument enables the extension. Afalse
argument disables the extension, and will not be overwritten byRelyingParty.startRegistration(StartRegistrationOptions)
. A null argument disables the extension, and will be overwritten byRelyingParty.startRegistration(StartRegistrationOptions)
. -
credProtect
public RegistrationExtensionInputs.RegistrationExtensionInputsBuilder credProtect(Optional<Extensions.CredentialProtection.CredentialProtectionInput> credProtect) Enable or disable the Credential Protection (credProtect
) extension.- Since:
- 2.7.0
- See Also:
-
credProtect
public RegistrationExtensionInputs.RegistrationExtensionInputsBuilder credProtect(Extensions.CredentialProtection.CredentialProtectionInput credProtect) Enable the Credential Protection (credProtect
) extension.- Since:
- 2.7.0
- See Also:
-
largeBlob
public RegistrationExtensionInputs.RegistrationExtensionInputsBuilder largeBlob(Extensions.LargeBlob.LargeBlobRegistrationInput.LargeBlobSupport support) Enable the Large blob storage extension (largeBlob
).Alias of
largeBlob(new Extensions.LargeBlob.LargeBlobRegistrationInput(support))
.- Parameters:
support
- anExtensions.LargeBlob.LargeBlobRegistrationInput.LargeBlobSupport
value to set as thesupport
attribute of thelargeBlob
extension input.- See Also:
-
largeBlob
public RegistrationExtensionInputs.RegistrationExtensionInputsBuilder largeBlob(Extensions.LargeBlob.LargeBlobRegistrationInput largeBlob) Enable the Large blob storage extension (largeBlob
). -
prf
public RegistrationExtensionInputs.RegistrationExtensionInputsBuilder prf(Extensions.Prf.PrfRegistrationInput prf) Enable the Pseudo-random function extension (prf
).This extension allows a Relying Party to evaluate outputs from a pseudo-random function (PRF) associated with a credential.
Use the
Extensions.Prf.PrfRegistrationInput
factory functions to construct the argument:- Use
Extensions.Prf.PrfRegistrationInput.enable()
to request that the credential be capable of PRF evaluation, but without evaluating the PRF at this time. - Use
Extensions.Prf.PrfRegistrationInput.eval(Extensions.Prf.PrfValues)
to request that the credential be capable of PRF evaluation and immediately evaluate it for the given inputs. Note that not all authenticators support this, in which case a follow-up authentication ceremony may be needed in order to evaluate the PRF.
- Use
-
uvm
Enable the User Verification Method Extension (uvm
). -
build
-
toString
-