public class SALSA20_CHACHA20_POLY1305_MSG_PARAMS extends CkParams implements CkMessageParams
| Constructor and Description |
|---|
SALSA20_CHACHA20_POLY1305_MSG_PARAMS(byte[] nonce,
byte[] tag)
Create a new CK_SALSA20_CHACHA20_POLY1305_MSG_PARAMS object with the given attributes.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
getMaxFieldLen() |
CK_SALSA20_CHACHA20_POLY1305_MSG_PARAMS |
getParams()
Get this parameters object as an object of the corresponding *_PARAMS
class of the iaik.pkcs.pkcs11.wrapper package.
|
void |
setValuesFromPKCS11Object(Object obj) |
String |
toString(String indent) |
codeToName, ptr2str, requireNonNull, setModule, toString, val2Strpublic SALSA20_CHACHA20_POLY1305_MSG_PARAMS(byte[] nonce,
byte[] tag)
nonce - The nonce.tag - authentication tag which is returned on MessageEncrypt, and provided on MessageDecrypt.public CK_SALSA20_CHACHA20_POLY1305_MSG_PARAMS getParams()
CkParamspublic void setValuesFromPKCS11Object(Object obj)
setValuesFromPKCS11Object in interface CkMessageParamsprotected int getMaxFieldLen()
getMaxFieldLen in class CkParamsCopyright © 2023. All rights reserved.