Package com.yubico.yubikit.fido.ctap
Class BioEnrollment
java.lang.Object
com.yubico.yubikit.fido.ctap.BioEnrollment
- Direct Known Subclasses:
FingerprintBioEnrollment
Implements Bio enrollment commands.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Ctap2Session
protected final int
protected static final int
protected static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
getModality
(Ctap2Session ctap) Get the type of modality the authenticator supports.static boolean
-
Field Details
-
RESULT_MODALITY
protected static final int RESULT_MODALITY- See Also:
-
MODALITY_FINGERPRINT
protected static final int MODALITY_FINGERPRINT- See Also:
-
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
-
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:
-