Class ManagementKeyMetadata

java.lang.Object
com.yubico.yubikit.piv.ManagementKeyMetadata

public class ManagementKeyMetadata extends Object
Metadata about the card management key.
  • Constructor Details

  • Method Details

    • getKeyType

      public ManagementKeyType getKeyType()
      Get the algorithm of key used for the Management Key.
      Returns:
      a ManagementKeyType value
    • isDefaultValue

      public boolean isDefaultValue()
      Whether or not the default card management key is set. The key should be changed from the default to prevent unwanted modification to the application.
      Returns:
      true if the default key is set.
    • getTouchPolicy

      public TouchPolicy getTouchPolicy()
      Whether or not the YubiKey sensor needs to be touched when performing authentication.
      Returns:
      the touch policy of the card management key