org.bouncycastle.crypto.params
Class AEADParameters
java.lang.Object
org.bouncycastle.crypto.params.AEADParameters
- CipherParameters
public class AEADParameters
extends java.lang.Object
AEADParameters
public AEADParameters(KeyParameter key,
int macSize,
byte[] nonce,
byte[] associatedText)
Base constructor.
key
- key to be used by underlying ciphermacSize
- macSize in bitsnonce
- nonce to be usedassociatedText
- associated text, if any
getAssociatedText
public byte[] getAssociatedText()
getMacSize
public int getMacSize()
getNonce
public byte[] getNonce()