Class PKCS5_PBKD2_PARAMS


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

      Constructors 
      Constructor Description
      PKCS5_PBKD2_PARAMS​(long saltSource, byte[] saltSourceData, int iterations, long prf, byte[] prfData)
      Create a new PKCS5_PBKD2_PARAMS object with the given attributes.
    • Constructor Detail

      • PKCS5_PBKD2_PARAMS

        public PKCS5_PBKD2_PARAMS​(long saltSource,
                                  byte[] saltSourceData,
                                  int iterations,
                                  long prf,
                                  byte[] prfData)
        Create a new PKCS5_PBKD2_PARAMS object with the given attributes.
        Parameters:
        saltSource - The source of the salt value. One of the constants defined in the SaltSourceType interface.
        saltSourceData - The data used as the input for the salt source.
        iterations - The number of iterations to perform when generating each block of random data.
        prf - The pseudo-random function (PRF) to used to generate the key. One of the constants defined in the PseudoRandomFunctionType interface.
        prfData - The data used as the input for PRF in addition to the salt value.
    • Method Detail

      • getParams

        public CK_PKCS5_PBKD2_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