Interface NonceSource

All Superinterfaces:
Serializable
All Known Implementing Classes:
SecureRandomNonceSource

public interface NonceSource extends Serializable
Interface which allows to produce Nonce value.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    since DSS 5.13.
    byte[]
    This method allows retrieving of unique value to be used as a nonce.
  • Method Details

    • getNonceValue

      byte[] getNonceValue()
      This method allows retrieving of unique value to be used as a nonce.
      Returns:
      byte array representing the unique value to use
    • getNonce

      Deprecated.
      since DSS 5.13. Use new BigInteger(nonceSource.getNonceValue())
      This method allows retrieving of unique value to be used as a nonce.
      Returns:
      BigInteger the unique value to use