de.flexiprovider.core.pbe
Class PBEKeySpec

java.lang.Object
  |
  +--javax.crypto.spec.PBEKeySpec
        |
        +--de.flexiprovider.core.pbe.PBEKeySpec
All Implemented Interfaces:
KeySpec, java.security.spec.KeySpec

public class PBEKeySpec
extends javax.crypto.spec.PBEKeySpec
implements KeySpec

A specification for a password-based key, used for password-based encryption (PBE).

Examples of password-based encryption algorithms include:

See Also:
PBEParameterSpec

Constructor Summary
PBEKeySpec(char[] password)
          Construct a new PBE key specification.
PBEKeySpec(javax.crypto.spec.PBEKeySpec javaSpec)
          Construct a new PBE key specification out of the given PBEKeySpec.
 
Methods inherited from class javax.crypto.spec.PBEKeySpec
getPassword
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PBEKeySpec

public PBEKeySpec(javax.crypto.spec.PBEKeySpec javaSpec)
Construct a new PBE key specification out of the given PBEKeySpec.
Parameters:
javaSpec - the PBEKeySpec

PBEKeySpec

public PBEKeySpec(char[] password)
Construct a new PBE key specification.
Parameters:
password - the password