Package org.bouncycastle.crypto
Interface AuthenticationParametersWithIV<T extends AuthenticationParametersWithIV>
- Type Parameters:
T
- the implementing type for this interface.
- All Superinterfaces:
AuthenticationParameters<T>
,Parameters
,ParametersWithIV<T>
- All Known Implementing Classes:
AES.AuthParameters
,ARIA.AuthParameters
,Blowfish.AuthParameters
,Camellia.AuthParameters
,CAST5.AuthParameters
,ChaCha20.AuthParameters
,DES.AuthParameters
,FipsAES.AuthParameters
,FipsTripleDES.AuthParameters
,GeneralAuthParameters
,GOST28147.AuthParameters
,IDEA.AuthParameters
,Poly1305.AuthParameters
,RC2.AuthParameters
,SEED.AuthParameters
,Serpent.AuthParameters
,SHACAL2.AuthParameters
,TripleDES.AuthParameters
,Twofish.AuthParameters
public interface AuthenticationParametersWithIV<T extends AuthenticationParametersWithIV>
extends AuthenticationParameters<T>, ParametersWithIV<T>
Interface describing parameters used in an authentication mode, such as for a MAC, AEAD cipher, or
a HMAC.
-
Method Summary
Modifier and TypeMethodDescriptionwithIV
(SecureRandom random, int ivLen) Return an implementation of our parameterized type with an IV constructed from the passed in SecureRandom.Methods inherited from interface org.bouncycastle.crypto.AuthenticationParameters
getMACSizeInBits, withMACSize
Methods inherited from interface org.bouncycastle.crypto.Parameters
getAlgorithm
Methods inherited from interface org.bouncycastle.crypto.ParametersWithIV
getIV, withIV, withIV
-
Method Details
-
withIV
Return an implementation of our parameterized type with an IV constructed from the passed in SecureRandom.- Parameters:
random
- source of randomness for iv (nonce)ivLen
- length of the iv (nonce) in bytes to use with the algorithm.
-