Class SecureRandomNonceSource

  • All Implemented Interfaces:
    NonceSource

    public class SecureRandomNonceSource
    extends Object
    implements NonceSource
    This class produces nonce values based on a SecureRandom.
    • Constructor Detail

      • SecureRandomNonceSource

        public SecureRandomNonceSource()
    • Method Detail

      • getNonce

        public BigInteger getNonce()
        Description copied from interface: NonceSource
        This methods allows to retrieve an unique new value to be use as nonce.
        Specified by:
        getNonce in interface NonceSource
        Returns:
        the unique value to use