Class PBE_PARAMS


  • public class PBE_PARAMS
    extends CkParams
    Represents the CK_PBE_PARAMS.
    Author:
    Lijun Liao (xipki)
    • 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: 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.