public class RBGNonce extends Object implements Nonce
Instances of this class are thread safe.
public RBGNonce()
public RBGNonce(int length)
length
- Number of bytes in generated nonce values.public byte[] generate() throws LimitException
generate
in interface Nonce
LimitException
- When a limit imposed by the nonce generation
strategy, if any, is exceeded.Copyright © 2016 JBoss by Red Hat. All rights reserved.