StatelessHmacNonceManager
class StatelessHmacNonceManager(keySpec: SecretKeySpec, algorithm: String, timeoutMillis: Long, nonceGenerator: () -> String) : NonceManager
Content copied to clipboard
Stateless nonce manager implementation with HMAC verification and timeout. Every nonce provided by this manager consist of a random part, timestamp and HMAC.
Constructors
Link copied to clipboard
Link copied to clipboard
fun StatelessHmacNonceManager(keySpec: SecretKeySpec, algorithm: String = "HmacSHA256", timeoutMillis: Long = 60000, nonceGenerator: () -> String = { generateNonce() })
Content copied to clipboard