Interface Nonce

All Known Implementing Classes:
DefaultNonce

public interface Nonce
A generated value to prevent playback attacks in communication protocols. This interface forces several restrictions on a nonce, allowing recovery of several information components.
Author:
Garret Wilson
  • Method Details

    • getTime

      Date getTime()
      Returns:
      The time represented by the nonce.
    • getPrivateKey

      String getPrivateKey()
      Returns:
      The private key represented by the nonce.
    • toString

      String toString()
      Overrides:
      toString in class Object
      Returns:
      A string representation of the nonce, suitable for serialization.