Interface Nonce

All Known Implementing Classes:
BigIntegerCounterNonce, CounterNonce, EncryptedNonce, LongCounterNonce, RBGNonce, RBGNonce

public interface Nonce
Nonce generation strategy.
Author:
Middleware Services
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Generates a nonce value.
    int
     
  • Method Details

    • generate

      byte[] generate() throws LimitException
      Generates a nonce value.
      Returns:
      Nonce bytes.
      Throws:
      LimitException - When a limit imposed by the nonce generation strategy, if any, is exceeded.
    • getLength

      int getLength()
      Returns:
      Length in bytes of generated nonce values.