Class PBEParameterSpec

    • Constructor Detail

      • PBEParameterSpec

        public PBEParameterSpec​(byte[] salt,
                                int iterationCount)
        Creates a new PBEParameterSpec with the specified salt and iteration count.
        Parameters:
        salt - the salt.
        iterationCount - the iteration count.
        Throws:
        NullPointerException - if salt is null.
    • Method Detail

      • getSalt

        public byte[] getSalt()
        Returns a copy to the salt.
        Returns:
        a copy to the salt.
      • getIterationCount

        public int getIterationCount()
        Returns the iteration count.
        Returns:
        the iteration count.