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