Package eu.europa.esig.dss.service
Interface NonceSource
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
SecureRandomNonceSource
Interface which allows to produce Nonce value.
-
Method Summary
Modifier and TypeMethodDescriptiongetNonce()
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. Usenew BigInteger(nonceSource.getNonceValue())
This method allows retrieving of unique value to be used as a nonce.- Returns:
BigInteger
the unique value to use
-