public static final class ChaCha20.AuthParameters extends GeneralAuthParameters<ChaCha20.AuthParameters>
macLenInBitsblockSize, iv| Modifier and Type | Method and Description |
|---|---|
protected ChaCha20.AuthParameters |
create(GeneralAlgorithm algorithm,
byte[] iv) |
ChaCha20.AuthParameters |
withIV(java.security.SecureRandom random)
Return an implementation of our parameterized type with an IV constructed from the passed in SecureRandom.
|
getMACSizeInBits, withIV, withMACSizegetIV, withIVgetAlgorithmclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIV, withIVgetAlgorithmpublic ChaCha20.AuthParameters withIV(java.security.SecureRandom random)
GeneralParametersWithIVwithIV in interface ParametersWithIV<ChaCha20.AuthParameters>withIV in class GeneralParametersWithIV<ChaCha20.AuthParameters>random - the SecureRandom to use as the source of IV data.protected ChaCha20.AuthParameters create(GeneralAlgorithm algorithm, byte[] iv)
create in class GeneralAuthParameters<ChaCha20.AuthParameters>