You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
548 B
27 lines
548 B
2 months ago
|
using System;
|
||
|
|
||
|
namespace Org.BouncyCastle.Crypto.Parameters
|
||
|
{
|
||
|
[Obsolete("Use AeadParameters")]
|
||
|
public class CcmParameters
|
||
|
: AeadParameters
|
||
|
{
|
||
|
/**
|
||
|
* Base constructor.
|
||
|
*
|
||
|
* @param key key to be used by underlying cipher
|
||
|
* @param macSize macSize in bits
|
||
|
* @param nonce nonce to be used
|
||
|
* @param associatedText associated text, if any
|
||
|
*/
|
||
|
public CcmParameters(
|
||
|
KeyParameter key,
|
||
|
int macSize,
|
||
|
byte[] nonce,
|
||
|
byte[] associatedText)
|
||
|
: base(key, macSize, nonce, associatedText)
|
||
|
{
|
||
|
}
|
||
|
}
|
||
|
}
|