|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Encryptor
Interface defining a utility that can perform encryption of cleartext.
Method Summary | |
---|---|
byte[] |
encrypt(byte[] cleartext)
Encrypt the cleartext in byte array format. |
java.lang.String |
encrypt(java.lang.String cleartext)
Encrypt the cleartext |
java.io.Serializable |
sealObject(java.io.Serializable object)
|
Method Detail |
---|
byte[] encrypt(byte[] cleartext) throws CryptoException
cleartext
- The text to be encrypted, in byte formThe
- encrypted ciphertext, in byte form
CryptoException
java.lang.String encrypt(java.lang.String cleartext) throws CryptoException
cleartext
- The text to be encryptedThe
- encrypted ciphertext
CryptoException
java.io.Serializable sealObject(java.io.Serializable object) throws CryptoException
CryptoException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |