Package org.bouncycastle.crypto.fips
Class FipsNonceGenerator
- java.lang.Object
-
- org.bouncycastle.crypto.fips.FipsNonceGenerator
-
public class FipsNonceGenerator extends java.lang.Object
Nonce generator for use with AEAD ciphers such as GCM. The generator guarantees the sequence number cannot wrap or go backwards.
-
-
Constructor Summary
Constructors Constructor Description FipsNonceGenerator(byte[] baseNonce, int counterBits)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generateNonce(byte[] nonce)
-