|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that allows custom implementations for encryption and decryption of data in the framework.
Field Summary | |
static String |
UTF8_CHARSET
Constant for UTF-8 character set. |
Method Summary | |
byte[] |
decrypt(byte[] data)
Decrypts the encrypted byte array and returns a new byte array that contains the decrypted data |
String |
decryptString(String data)
Decrypts the encrypted string and returns a new string that contains the decrypted data |
byte[] |
encrypt(byte[] data)
Encrypts the byte array and returns a new encrypted byte array |
String |
encryptString(String data)
Encrypts the string and returns a new encrypted string |
Field Detail |
public static final String UTF8_CHARSET
Method Detail |
public byte[] encrypt(byte[] data) throws Exception
data
- a byte array of the data the needs to be encryptedpublic byte[] decrypt(byte[] data) throws Exception
data
- a byte array of the encrypted data the needs to be decryptedpublic String encryptString(String data) throws Exception
data
- the string that needs to be encryptedpublic String decryptString(String data) throws Exception
data
- the string that needs to be decrypted
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |