org.bouncycastle.crypto.params
Class CCMParameters
java.lang.Objectorg.bouncycastle.crypto.params.CCMParameters
- CipherParameters
public class CCMParameters
extends java.lang.Object
CCMParameters
public CCMParameters(KeyParameter key,
int macSize,
byte[] nonce,
byte[] associatedText) Base constructor.
key - key to be used by underlying ciphermacSize - macSize in bitsnonce - nonce to be usedassociatedText - associated text, if any
getAssociatedText
public byte[] getAssociatedText()
getMacSize
public int getMacSize()
getNonce
public byte[] getNonce()