javax.crypto.interfaces.PBEKey |
Class Overview
The interface to a password-based-encryption key.
Summary
Public Methods |
abstract
int
|
getIterationCount()
Returns the iteration count, 0 if not specified.
|
abstract
char[]
|
getPassword()
Returns a copy to the password.
|
abstract
byte[]
|
getSalt()
Returns a copy of the salt data or null if not specified.
|
[Expand]
Inherited Methods |
From interface
java.security.Key
abstract
String
|
getAlgorithm()
Returns the name of the algorithm of this key.
|
abstract
byte[]
|
getEncoded()
Returns the encoded form of this key, or null if encoding is not
supported by this key.
|
abstract
String
|
getFormat()
Returns the name of the format used to encode this key, or null
if it can not be encoded.
|
|
Constants
public
static
final
long
serialVersionUID
The serial version identifier.
Constant Value:
-1430015993304333921
(0xec279007d7f7c19f)
Public Methods
public
abstract
int
getIterationCount
()
Returns the iteration count, 0 if not specified.
Returns
- the iteration count, 0 if not specified.
public
abstract
char[]
getPassword
()
Returns a copy to the password.
public
abstract
byte[]
getSalt
()
Returns a copy of the salt data or null if not specified.
Returns
- a copy of the salt data or null if not specified.