Package org.xipki.pkcs11.wrapper.params
Class PBE_PARAMS
- java.lang.Object
-
- org.xipki.pkcs11.wrapper.params.CkParams
-
- org.xipki.pkcs11.wrapper.params.PBE_PARAMS
-
public class PBE_PARAMS extends CkParams
Represents the CK_PBE_PARAMS.- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description PBE_PARAMS(char[] iv, char[] password, char[] salt, int iterations)Create a new PBE_PARAMS object with the given attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetMaxFieldLen()CK_PBE_PARAMSgetParams()Get this parameters object as an object of the corresponding *_PARAMS class of the iaik.pkcs.pkcs11.wrapper package.StringtoString(String indent)-
Methods inherited from class org.xipki.pkcs11.wrapper.params.CkParams
ptr2str, requireNonNull, toString, val2Str
-
-
-
-
Constructor Detail
-
PBE_PARAMS
public PBE_PARAMS(char[] iv, char[] password, char[] salt, int iterations)Create a new PBE_PARAMS object with the given attributes.- Parameters:
iv- The 8-byte initialization vector (IV), if an IV is required.password- The password to be used in the PBE key generation.salt- The salt to be used in the PBE key generation.iterations- The number of iterations required for the generation.
-
-
Method Detail
-
getParams
public CK_PBE_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
-
-