public interface SessionNonceManager extends NonceManager
NonceManager
interface for Nonce managers that also support the association of a pre-prepared hash against a currently valid nonce. If the nonce manager replaces in-use nonces as old ones expire then the associated session hash should be migrated to the replacement nonce.Modifier and Type | Method and Description |
---|---|
void | associateHash(String nonce, byte[] hash) Associate the supplied hash with the nonce specified. |
byte[] | lookupHash(String nonce) Retrieve the existing hash associated with the nonce specified. |
nextNonce, validateNonce
void associateHash(String nonce, byte[] hash)
nonce
- - The nonce the hash is to be associated with.hash
- - The hash to associate.byte[] lookupHash(String nonce)
nonce
- - The nonce the hash is required for.Copyright © 2015 JBoss by Red Hat. All rights reserved.