Package com.yubico.yubikit.fido.ctap
Class CredentialManagement.Metadata
java.lang.Object
com.yubico.yubikit.fido.ctap.CredentialManagement.Metadata
- Enclosing class:
- CredentialManagement
CTAP2 Credential Management Metadata object.
-
Method Summary
Modifier and TypeMethodDescriptionint
The total number of resident credentials existing on the authenticator.int
The maximum number of possible remaining credentials that can be created on the authenticator.
-
Method Details
-
getExistingResidentCredentialsCount
public int getExistingResidentCredentialsCount()The total number of resident credentials existing on the authenticator.- Returns:
- The number of existing resident credentials.
-
getMaxPossibleRemainingResidentCredentialsCount
public int getMaxPossibleRemainingResidentCredentialsCount()The maximum number of possible remaining credentials that can be created on the authenticator. Note that this number is an estimate as actual space consumed to create a credential depends on various conditions such as which algorithm is picked, user entity information etc.- Returns:
- The maximum number of possible remaining credentials that can be created.
-