Package org.xipki.pkcs11.wrapper.params
Class PKCS5_PBKD2_PARAMS
- java.lang.Object
-
- org.xipki.pkcs11.wrapper.params.CkParams
-
- org.xipki.pkcs11.wrapper.params.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetMaxFieldLen()CK_PKCS5_PBKD2_PARAMSgetParams()Get this parameters object as an object of the corresponding *_PARAMS class of the iaik.pkcs.pkcs11.wrapper package.StringtoString(String indent)
-
-
-
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:CkParamsGet this parameters object as an object of the corresponding *_PARAMS class of the iaik.pkcs.pkcs11.wrapper package.
-
getMaxFieldLen
protected int getMaxFieldLen()
- Specified by:
getMaxFieldLenin classCkParams
-
-