public class PKCS5_PBKD2_PARAMS extends CkParams
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
getMaxFieldLen() |
CK_PKCS5_PBKD2_PARAMS |
getParams()
Get this parameters object as an object of the corresponding *_PARAMS
class of the iaik.pkcs.pkcs11.wrapper package.
|
String |
toString(String indent) |
codeToName, ptr2str, requireNonNull, setModule, toString, val2Strpublic PKCS5_PBKD2_PARAMS(long saltSource,
byte[] saltSourceData,
int iterations,
long prf,
byte[] prfData)
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.public CK_PKCS5_PBKD2_PARAMS getParams()
CkParamsprotected int getMaxFieldLen()
getMaxFieldLen in class CkParamsCopyright © 2023. All rights reserved.