Save This Page
Home » openjdk-7 » com.sun.crypto » provider » [javadoc | source]
com.sun.crypto.provider
final class: PBKDF2KeyImpl [javadoc | source]
java.lang.Object
   com.sun.crypto.provider.PBKDF2KeyImpl

All Implemented Interfaces:
    PBEKey

This class represents a PBE key derived using PBKDF2 defined in PKCS#5 v2.0. meaning that 1) the password must consist of characters which will be converted to bytes using UTF-8 character encoding. 2) salt, iteration count, and to be derived key length are supplied
Field Summary
static final  long serialVersionUID     
Constructor:
 PBKDF2KeyImpl(PBEKeySpec keySpec,
    String prfAlgo) throws InvalidKeySpecException 
    Creates a PBE key from a given PBE key specification.
    Parameters:
    key - the given PBE key specification
Method from com.sun.crypto.provider.PBKDF2KeyImpl Summary:
equals,   finalize,   getAlgorithm,   getEncoded,   getFormat,   getIterationCount,   getPassword,   getSalt,   hashCode
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.crypto.provider.PBKDF2KeyImpl Detail:
 public boolean equals(Object obj) 
 protected  void finalize() throws Throwable 
    Ensures that the password bytes of this key are erased when there are no more references to it.
 public String getAlgorithm() 
 public byte[] getEncoded() 
 public String getFormat() 
 public int getIterationCount() 
 public char[] getPassword() 
 public byte[] getSalt() 
 public int hashCode() 
    Calculates a hash code value for the object. Objects that are equal will also have the same hashcode.