Class BioEnrollment

java.lang.Object
com.yubico.yubikit.fido.ctap.BioEnrollment
Direct Known Subclasses:
FingerprintBioEnrollment

public class BioEnrollment extends Object
Implements Bio enrollment commands.
See Also:
  • Field Details

    • RESULT_MODALITY

      protected static final int RESULT_MODALITY
      See Also:
    • MODALITY_FINGERPRINT

      protected static final int MODALITY_FINGERPRINT
      See Also:
    • ctap

      protected final Ctap2Session ctap
    • modality

      protected final int modality
  • Constructor Details

    • BioEnrollment

      public BioEnrollment(Ctap2Session ctap, int modality) throws IOException, com.yubico.yubikit.core.application.CommandException
      Throws:
      IOException
      com.yubico.yubikit.core.application.CommandException
  • Method Details

    • isSupported

      public static boolean isSupported(Ctap2Session.InfoData info)
    • getModality

      public static int getModality(Ctap2Session ctap) throws IOException, com.yubico.yubikit.core.application.CommandException
      Get the type of modality the authenticator supports.
      Parameters:
      ctap - CTAP2 session
      Returns:
      The type of modality authenticator supports. For fingerprint, its value is 1.
      Throws:
      IOException - A communication error in the transport layer.
      com.yubico.yubikit.core.application.CommandException - A communication in the protocol layer.
      See Also: