Class SALSA20_PARAMS


  • public class SALSA20_PARAMS
    extends CkParams
    Represents the CK_SALSA20_PARAMS.
    Author:
    Lijun Liao (xipki)
    • Constructor Detail

      • SALSA20_PARAMS

        public SALSA20_PARAMS​(byte[] blockCounter,
                              byte[] nonce)
        Create a new SALSA20_PARAMS object with the given attributes.
        Parameters:
        blockCounter - the Blockcounter
        nonce - the nonce
    • Method Detail

      • getParams

        public CK_SALSA20_PARAMS getParams()
        Description copied from class: CkParams
        Get this parameters object as an object of the corresponding *_PARAMS class of the iaik.pkcs.pkcs11.wrapper package.
        Specified by:
        getParams in class CkParams
        Returns:
        The object of the corresponding *_PARAMS class.