Class CHACHA20_PARAMS


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

      • CHACHA20_PARAMS

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

      • getParams

        public CK_CHACHA20_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.