| org.apache.geronimo.crypto.Encryption
All known Subclasses: org.apache.geronimo.crypto.AbstractEncryption,
Encryption | public interface Encryption (Code) | | Interface for objects to register with EncryptionManager.
version: $Rev: 617735 $ $Date: 2008-02-01 17:20:02 -0800 (Fri, 01 Feb 2008) $ |
Method Summary | |
Serializable | decrypt(String source) decrypt the source according to some scheme and return the original object.
Parameters: source - the string representing the encrypted object (a copy of) the original object. | String | encrypt(Serializable source) encrypt the source according to some scheme and return the result as a String. |
decrypt | Serializable decrypt(String source)(Code) | | decrypt the source according to some scheme and return the original object.
Parameters: source - the string representing the encrypted object (a copy of) the original object. |
encrypt | String encrypt(Serializable source)(Code) | | encrypt the source according to some scheme and return the result as a String.
Parameters: source - object to encrypt encrypted object representing the source. |
|
|