Class ManagementKeyMetadata


  • public class ManagementKeyMetadata
    extends java.lang.Object
    Metadata about the card management key.
    • Constructor Detail

    • Method Detail

      • 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