Class OneTimePasswordSpec

    • Constructor Detail

      • OneTimePasswordSpec

        public OneTimePasswordSpec​(byte[] hash,
                                   String seed,
                                   int sequenceNumber)
        Construct a new instance.
        Parameters:
        hash - the hash bytes
        seed - the seed
        sequenceNumber - the sequence number
    • Method Detail

      • getHash

        public byte[] getHash()
        Gets the hash.
        Returns:
        the hash
      • getSeed

        public String getSeed()
        Gets the seed.
        Returns:
        the seed
      • getSequenceNumber

        public int getSequenceNumber()
        Gets the sequence number.
        Returns:
        the sequence number
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object