Class Ctap2Client

java.lang.Object
com.yubico.yubikit.fido.client.Ctap2Client
All Implemented Interfaces:
WebAuthnClient, Closeable, AutoCloseable

public class Ctap2Client extends Object implements WebAuthnClient
WebAuthn client implementation which wraps a YubiKeySession.

Provides the following functionality:

  • MakeCredential: Registers a new credential. If a PIN is needed, it is passed to this method.
  • GetAssertion: Authenticate an existing credential. If a PIN is needed, it is passed to this method.
  • PIN Management: Set or change the PIN code of an Authenticator, or see its state.
  • Credential Management: List or delete resident credentials of an Authenticator.
The timeout parameter in the request options is ignored. To cancel a request pass a CommandState instance to the call and use its cancel method.