Class SALSA20_CHACHA20_POLY1305_MSG_PARAMS

  • All Implemented Interfaces:
    CkMessageParams

    public class SALSA20_CHACHA20_POLY1305_MSG_PARAMS
    extends CkParams
    implements CkMessageParams
    Represents the CK_SALSA20_CHACHA20_POLY1305_MSG_PARAMS.
    Author:
    Lijun Liao (xipki)
    • Constructor Detail

      • SALSA20_CHACHA20_POLY1305_MSG_PARAMS

        public SALSA20_CHACHA20_POLY1305_MSG_PARAMS​(byte[] nonce,
                                                    byte[] tag)
        Create a new CK_SALSA20_CHACHA20_POLY1305_MSG_PARAMS object with the given attributes.
        Parameters:
        nonce - The nonce.
        tag - authentication tag which is returned on MessageEncrypt, and provided on MessageDecrypt.