public class SALSA20_CHACHA20_POLY1305_PARAMS extends CkParams
| Constructor and Description |
|---|
SALSA20_CHACHA20_POLY1305_PARAMS(byte[] nonce,
byte[] aad)
Create a new Salsa20Chacha20Poly1305Parameters object with the given attributes.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
getMaxFieldLen() |
Object |
getParams()
Get this parameters object as an object of the CK_SALSA20_CHACHA20_POLY1305_PARAMS class.
|
sun.security.pkcs11.wrapper.CK_MECHANISM |
toCkMechanism(long mechanism) |
String |
toString(String indent) |
buildCkMechanism, codeToName, ptr2str, requireNonNull, setModule, toString, val2Strpublic SALSA20_CHACHA20_POLY1305_PARAMS(byte[] nonce,
byte[] aad)
nonce - nonce (This should be never re-used with the same key.) aad - additional authentication data. This data is authenticated but not encrypted.public Object getParams()
public sun.security.pkcs11.wrapper.CK_MECHANISM toCkMechanism(long mechanism)
toCkMechanism in class CkParamsprotected int getMaxFieldLen()
getMaxFieldLen in class CkParamsCopyright © 2023. All rights reserved.