Class CHACHA20_PARAMS


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

      Constructors 
      Constructor Description
      CHACHA20_PARAMS​(byte[] blockCounter, byte[] nonce)
      Create a new CHACHA20_PARAMS object with the given attributes.
    • Constructor Detail

      • CHACHA20_PARAMS

        public CHACHA20_PARAMS​(byte[] blockCounter,
                               byte[] nonce)
        Create a new CHACHA20_PARAMS object with the given attributes.
        Parameters:
        blockCounter - the Blockcounter
        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.
      • toString

        public java.lang.String toString​(java.lang.String indent)
        Specified by:
        toString in class CkParams