Class CredentialManagement.Metadata

java.lang.Object
com.yubico.yubikit.fido.ctap.CredentialManagement.Metadata
Enclosing class:
CredentialManagement

public static class CredentialManagement.Metadata extends Object
CTAP2 Credential Management Metadata object.
  • 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.