Java javax.crypto.spec PBEKeySpec fields, constructors, methods, implement or subclass

Example usage for Java javax.crypto.spec PBEKeySpec fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.crypto.spec PBEKeySpec.

The text is from its open source code.

Constructor

PBEKeySpec(char[] password)
Constructor that takes a password.
PBEKeySpec(char[] password, byte[] salt, int iterationCount)
Constructor that takes a password, salt, iteration count for generating PBEKey of fixed-key-size PBE ciphers.
PBEKeySpec(char[] password, byte[] salt, int iterationCount, int keyLength)
Constructor that takes a password, salt, iteration count, and to-be-derived key length for generating PBEKey of variable-key-size PBE ciphers.

Method

voidclearPassword()
Clears the internal copy of the password.
char[]getPassword()
Returns a copy of the password.