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 |
|---|---|
java.lang.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) |
java.lang.String |
toString()
Returns the string representation of this object.
|
buildCkMechanism, ptrToString, requireNonNullpublic 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 java.lang.Object getParams()
public sun.security.pkcs11.wrapper.CK_MECHANISM toCkMechanism(long mechanism)
toCkMechanism in class CkParamspublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2023. All rights reserved.