Save This Page
Home » geronimo-2.2-source-release » org.apache.geronimo.crypto » [javadoc | source]
org.apache.geronimo.crypto
abstract public class: AbstractEncryption [javadoc | source]
java.lang.Object
   org.apache.geronimo.crypto.AbstractEncryption

All Implemented Interfaces:
    Encryption

Direct Known Subclasses:
    ConfiguredEncryption, SimpleEncryption

Method from org.apache.geronimo.crypto.AbstractEncryption Summary:
decrypt,   encrypt,   getSecretKeySpec
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.crypto.AbstractEncryption Detail:
 public Serializable decrypt(String source) 
    Given a String which is the Base64-encoded encrypted data, retrieve the original Object.
 public String encrypt(Serializable source) 
    Gets a String which contains the Base64-encoded form of the source, encrypted with the key from getSecretKeySpec().
 abstract protected SecretKeySpec getSecretKeySpec()