org.bouncycastle.crypto.params

Class AEADParameters

public class AEADParameters extends Object implements CipherParameters

Constructor Summary
AEADParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText)
Base constructor.
Method Summary
byte[]getAssociatedText()
KeyParametergetKey()
intgetMacSize()
byte[]getNonce()

Constructor Detail

AEADParameters

public AEADParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText)
Base constructor.

Parameters: key key to be used by underlying cipher macSize macSize in bits nonce nonce to be used associatedText associated text, if any

Method Detail

getAssociatedText

public byte[] getAssociatedText()

getKey

public KeyParameter getKey()

getMacSize

public int getMacSize()

getNonce

public byte[] getNonce()