Top Fields Constructors Methods
org.bouncycastle.crypto.internal.params

public Class AEADParameters

extends Object
implements CipherParameters
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.internal.CipherParameters
Imports
org.bouncycastle.crypto.internal.CipherParameters

Field Summary

Modifier and TypeField and Description
private final byte[]
private final KeyParameter
private final int
private final 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 final byte[] associatedText
keyback to summary
private final KeyParameter key
macSizeback to summary
private final int macSize
nonceback to summary
private final 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()