Class AesContentEncoder
java.lang.Object
com.gigaspaces.security.encoding.aes.AesEncrypter
com.gigaspaces.security.encoding.aes.AesContentEncoder
- All Implemented Interfaces:
ContentEncoder
A
ContentEncoder using AES as the cryptographic algorithm.- Since:
- 7.0.1
- Author:
- Moran Avigdor
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AesContentEncoder
public AesContentEncoder() -
AesContentEncoder
-
-
Method Details
-
decode
Description copied from interface:ContentEncoderDecode the byte array returning a decrypted object.- Specified by:
decodein interfaceContentEncoder- Parameters:
bytes- a byte array representing the encoded object.- Returns:
- the decoded object.
- Throws:
EncodingException- if failed to decode the object.
-
encode
Description copied from interface:ContentEncoderEncode the object returning an encrypted byte array.- Specified by:
encodein interfaceContentEncoder- Parameters:
obj- Object to encode.- Returns:
- a byte array representing the encoded object.
- Throws:
EncodingException- if failed to encode the object.
-