org.bouncycastle.crypto.params

Class CCMParameters

Implemented Interfaces:
CipherParameters

public class CCMParameters
extends AEADParameters

Constructor Summary

CCMParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText)
Base constructor.

Method Summary

Methods inherited from class org.bouncycastle.crypto.params.AEADParameters

getAssociatedText, getKey, getMacSize, getNonce

Constructor Details

CCMParameters

public CCMParameters(KeyParameter key,
                     int macSize,
                     byte[] nonce,
                     byte[] associatedText)
Base constructor.
Parameters:
key - key to be used by underlying cipher
macSize - macSize in bits
nonce - nonce to be used
associatedText - associated text, if any