Class NFCToken

    • Constructor Detail

      • NFCToken

        public NFCToken()
    • Method Detail

      • getAppMasterKey

        public byte[] getAppMasterKey()
      • getAppMasterKeyIv

        public byte[] getAppMasterKeyIv()
      • getChallenge

        public byte[] getChallenge()
      • getChallengeExpiration

        public Date getChallengeExpiration()
      • getLabel

        public String getLabel()
      • getOperationalKey

        public byte[] getOperationalKey()
      • getOperationalKeyIv

        public byte[] getOperationalKeyIv()
      • getPrincipal

        public String getPrincipal()
        Description copied from interface: UserPrincipal
        Should return a value that can be used to identify the user. In case the value should be hidden, implementors should return null.
        Specified by:
        getPrincipal in interface UserPrincipal
        Overrides:
        getPrincipal in class Token
      • resetChallenge

        public byte[] resetChallenge()
        Reset the challenge and the expiration date.
        Returns:
        the current challenge value
      • setAppMasterKey

        public void setAppMasterKey​(byte[] amk)
      • setAppMasterKeyIv

        public void setAppMasterKeyIv​(byte[] amkIv)
      • setChallenge

        public void setChallenge​(byte[] challenge)
      • setChallengeExpiration

        public void setChallengeExpiration​(Date challengeExpiration)
      • setLabel

        public void setLabel​(String label)
      • setOperationalKey

        public void setOperationalKey​(byte[] appKey)
      • setOperationalKeyIv

        public void setOperationalKeyIv​(byte[] appKeyIv)