javax.crypto.spec
Class PBEKeySpec
java.lang.Object
|
+--javax.crypto.spec.PBEKeySpec
- public class PBEKeySpec
- extends java.lang.Object
- implements KeySpec
PBE Key specification.
Attention: This is not a SUN implementation!
This class has been developed by IAIK according to the documentation publically available.
For SUNīs documentation of this class see
http://java.sun.com/security/JCE1.2/spec/apidoc/index.html
This class represents a PBE Key specification.
A key specification is a transparent representation of the key material
constituting the key. For password-based encryption, the specification is
the password from which the key is created according to PKCS#5 (Password-Based Encryption Standard).
- See Also:
PBEParameterSpec,
KeySpec
|
Constructor Summary |
PBEKeySpec(char[] password)
Createas a PBE key specification from a given password. |
|
Method Summary |
char[] |
getPassword()
Returns the inherent password as String representation. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
PBEKeySpec
public PBEKeySpec(char[] password)
- Createas a PBE key specification from a given password.
- Parameters:
password - the password as String
getPassword
public char[] getPassword()
- Returns the inherent password as String representation.
- Returns:
- the password