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

All Implemented Interfaces:
    SecretKey

This class represents a PBE key.
Field Summary
static final  long serialVersionUID     
Constructor:
 PBEKey(PBEKeySpec keySpec,
    String keytype) 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.PBEKey Summary:
equals,   finalize,   getAlgorithm,   getEncoded,   getFormat,   hashCode
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.crypto.provider.PBEKey Detail:
 public boolean equals(Object obj) 
 protected  void finalize() throws Throwable 
    Ensures that the password bytes of this key are set to zero when there are no more references to it.
 public String getAlgorithm() 
 public byte[] getEncoded() 
 public String getFormat() 
 public int hashCode() 
    Calculates a hash code value for the object. Objects that are equal will also have the same hashcode.