|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bouncycastle.crypto.params.AEADParameters
public class AEADParameters
Field Summary | |
---|---|
private byte[] |
associatedText
|
private KeyParameter |
key
|
private int |
macSize
|
private byte[] |
nonce
|
Constructor Summary | |
---|---|
AEADParameters(KeyParameter key,
int macSize,
byte[] nonce,
byte[] associatedText)
Base constructor. |
Method Summary | |
---|---|
byte[] |
getAssociatedText()
|
KeyParameter |
getKey()
|
int |
getMacSize()
|
byte[] |
getNonce()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private byte[] associatedText
private byte[] nonce
private KeyParameter key
private int macSize
Constructor Detail |
---|
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 anyMethod Detail |
---|
public KeyParameter getKey()
public int getMacSize()
public byte[] getAssociatedText()
public byte[] getNonce()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |