|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentEncoder
Interface for performing two-way encryption and decryption on objects.
Method Summary | |
---|---|
Object |
decode(byte[] bytes)
Decode the byte array returning a decrypted object. |
byte[] |
encode(Object obj)
Encode the object returning an encrypted byte array. |
Method Detail |
---|
byte[] encode(Object obj) throws EncodingException
obj
- Object to encode.
EncodingException
- if failed to encode the object.Object decode(byte[] bytes) throws EncodingException
bytes
- a byte array representing the encoded object.
EncodingException
- if failed to decode the object.
|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |