Top Fields Constructors Methods
org.bouncycastle.crypto.params

public Class AEADParameters

extends Object
implements CipherParameters
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.CipherParameters
Known Direct Subclasses
org.bouncycastle.crypto.params.CCMParameters
Imports
org.bouncycastle.crypto.CipherParameters, org.bouncycastle.util.Arrays

Field Summary

Modifier and TypeField and Description
private byte[]
private KeyParameter
private int
private byte[]

Constructor Summary

AccessConstructor and Description
public
AEADParameters(KeyParameter
key to be used by underlying cipher
key
,
int
macSize in bits
macSize
,
byte[]
nonce to be used
nonce
)

Base constructor.

public
AEADParameters(KeyParameter
key to be used by underlying cipher
key
,
int
macSize in bits
macSize
,
byte[]
nonce to be used
nonce
,
byte[]
initial associated text, if any
associatedText
)

Base constructor.

Method Summary

Modifier and TypeMethod and Description
public byte[]
public KeyParameter
public int
public byte[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

associatedTextback to summary
private byte[] associatedText
keyback to summary
private KeyParameter key
macSizeback to summary
private int macSize
nonceback to summary
private byte[] nonce

Constructor Detail

AEADParametersback to summary
public AEADParameters(KeyParameter key, int macSize, byte[] nonce)

Base constructor.

Parameters
key:KeyParameter

key to be used by underlying cipher

macSize:int

macSize in bits

nonce:byte[]

nonce to be used

AEADParametersback to summary
public AEADParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText)

Base constructor.

Parameters
key:KeyParameter

key to be used by underlying cipher

macSize:int

macSize in bits

nonce:byte[]

nonce to be used

associatedText:byte[]

initial associated text, if any

Method Detail

getAssociatedTextback to summary
public byte[] getAssociatedText()
getKeyback to summary
public KeyParameter getKey()
getMacSizeback to summary
public int getMacSize()
getNonceback to summary
public byte[] getNonce()