Interface AccessKey


  • public interface AccessKey
    Allows the implementation of custom backends to unlock an OathSession.

    The AccessKey gives the OathSession the ability to unlock a session without providing the actual key material, which allows it to be stored in the Android KeyStore or similar.

    • Method Detail

      • calculateResponse

        byte[] calculateResponse​(byte[] challenge)
        Create a HMAC-SHA1 signature over the given challenge, using an OATH Access Key.
        Parameters:
        challenge - a challenge to sign
        Returns:
        a signature over the given challenge