javax.crypto.spec
Class PBEKeySpec

java.lang.Object
  |
  +--javax.crypto.spec.PBEKeySpec
All Implemented Interfaces:
KeySpec

public class PBEKeySpec
extends 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).

Version:
File Revision 14
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
 

Constructor Detail

PBEKeySpec

public PBEKeySpec(char[] password)
Createas a PBE key specification from a given password.
Parameters:
password - the password as String
Method Detail

getPassword

public char[] getPassword()
Returns the inherent password as String representation.
Returns:
the password

This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note).

IAIK-JCE 3.1 with IAIK-JCE CC Core 3.1, (c) 1997-2004 IAIK