public class MyAEADParameters
extends mybouncycastle.org.bouncycastle.crypto.params.AEADParameters
Constructor and Description |
---|
MyAEADParameters(mybouncycastle.org.bouncycastle.crypto.params.KeyParameter key,
int macSize,
byte[] nonce)
Base constructor.
|
MyAEADParameters(mybouncycastle.org.bouncycastle.crypto.params.KeyParameter key,
int macSize,
byte[] nonce,
byte[] associatedText)
Base constructor.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getNonce() |
public MyAEADParameters(mybouncycastle.org.bouncycastle.crypto.params.KeyParameter key, int macSize, byte[] nonce)
key
- key to be used by underlying ciphermacSize
- macSize in bitsnonce
- nonce to be usedpublic MyAEADParameters(mybouncycastle.org.bouncycastle.crypto.params.KeyParameter key, int macSize, byte[] nonce, byte[] associatedText)
key
- key to be used by underlying ciphermacSize
- macSize in bitsnonce
- nonce to be usedassociatedText
- initial associated text, if anyCopyright © 2023. All rights reserved.