Class AAResult

    • Constructor Detail

      • AAResult

        public AAResult​(PublicKey publicKey,
                        String digestAlgorithm,
                        String signatureAlgorithm,
                        byte[] challenge,
                        byte[] response)
        The result of an Active Authentication protocol run.
        Parameters:
        publicKey - the AA public key that was used
        digestAlgorithm - the digest algorithm that was used
        signatureAlgorithm - the signature algorithm that was used
        challenge - the challenge that was used
        response - the response that resulted
    • Method Detail

      • getChallenge

        public byte[] getChallenge()
        Returns the challenge that was initially used.
        Returns:
        the challenge
      • getResponse

        public byte[] getResponse()
        Returns the response that was sent back by the ICC.
        Returns:
        the response that was sent back by the ICC
      • getPublicKey

        public PublicKey getPublicKey()
        Returns the public key for verifying the result.
        Returns:
        the public key for verofying the result
      • getDigestAlgorithm

        public String getDigestAlgorithm()
        Returns the digest algorithm used by the ICC.
        Returns:
        the digest algorithm used by the ICC
      • getSignatureAlgorithm

        public String getSignatureAlgorithm()
        Returns the signature algorithm used by the ICC.
        Returns:
        the signature algorithm used by the ICC
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object