Class SymmetricKeySpecFactoryImplPbe

    • Constructor Detail

      • SymmetricKeySpecFactoryImplPbe

        public SymmetricKeySpecFactoryImplPbe()
        The constructor.
      • SymmetricKeySpecFactoryImplPbe

        public SymmetricKeySpecFactoryImplPbe​(byte[] salt)
        The constructor.
        Parameters:
        salt - the salt or null for no salting.
      • SymmetricKeySpecFactoryImplPbe

        public SymmetricKeySpecFactoryImplPbe​(byte[] salt,
                                              int iterationCount)
        The constructor.
        Parameters:
        salt - the salt or null for no salting.
        iterationCount - the iteration count.
      • SymmetricKeySpecFactoryImplPbe

        public SymmetricKeySpecFactoryImplPbe​(byte[] salt,
                                              int iterationCount,
                                              int keyLength)
        The constructor.
        Parameters:
        salt - the salt or null for no salting.
        iterationCount - the iteration count.
        keyLength - the key length.
    • Method Detail

      • getIterationCount

        public int getIterationCount()
        Returns:
        the iteration count or 0 for no iterations.
      • getKeyLength

        public int getKeyLength()
        Returns:
        the key length in bits or 0 if unspecified (to use defaults).