CipherParametersCCMParameterspublic class AEADParameters extends java.lang.Object implements CipherParameters
| Constructor | Description |
|---|---|
AEADParameters(KeyParameter key,
int macSize,
byte[] nonce) |
Base constructor.
|
AEADParameters(KeyParameter key,
int macSize,
byte[] nonce,
byte[] associatedText) |
Base constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
getAssociatedText() |
|
KeyParameter |
getKey() |
|
int |
getMacSize() |
|
byte[] |
getNonce() |
public AEADParameters(KeyParameter key, int macSize, byte[] nonce)
key - key to be used by underlying ciphermacSize - macSize in bitsnonce - nonce to be usedpublic AEADParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText)
key - key to be used by underlying ciphermacSize - macSize in bitsnonce - nonce to be usedassociatedText - initial associated text, if anypublic KeyParameter getKey()
public int getMacSize()
public byte[] getAssociatedText()
public byte[] getNonce()