Class HmacSecretExtension
java.lang.Object
com.yubico.yubikit.fido.client.extensions.Extension
com.yubico.yubikit.fido.client.extensions.HmacSecretExtension
Implements the Pseudo-random function (prf) and the hmac-secret and hmac-secret-mc CTAP2
extensions.
The hmac-secret and hmac-secret-mc extensions are not directly available to clients by default, instead the prf extension is used.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.yubico.yubikit.fido.client.extensions.Extension
Extension.AuthenticationInput, Extension.AuthenticationOutput, Extension.AuthenticationProcessor, Extension.RegistrationInput, Extension.RegistrationOutput, Extension.RegistrationProcessor -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Extension.AuthenticationProcessorgetAssertion(Ctap2Session ctap, PublicKeyCredentialRequestOptions options, PinUvAuthProtocol pinUvAuthProtocol) @Nullable Extension.RegistrationProcessormakeCredential(Ctap2Session ctap2, PublicKeyCredentialCreationOptions options, PinUvAuthProtocol pinUvAuthProtocol) Methods inherited from class com.yubico.yubikit.fido.client.extensions.Extension
asBoolean, asMap, asString, isSupported, validateCreateInputs, validateGetInputs
-
Constructor Details
-
HmacSecretExtension
public HmacSecretExtension() -
HmacSecretExtension
public HmacSecretExtension(boolean allowHmacSecret) - Parameters:
allowHmacSecret- Set to True to allow hmac-secret and hmac-secret-mc, in addition to prf
-
-
Method Details
-
makeCredential
public @Nullable Extension.RegistrationProcessor makeCredential(Ctap2Session ctap2, PublicKeyCredentialCreationOptions options, PinUvAuthProtocol pinUvAuthProtocol) - Overrides:
makeCredentialin classExtension
-
getAssertion
public @Nullable Extension.AuthenticationProcessor getAssertion(Ctap2Session ctap, PublicKeyCredentialRequestOptions options, PinUvAuthProtocol pinUvAuthProtocol) - Overrides:
getAssertionin classExtension
-