Interface MessageEncryptionService
-
- All Known Subinterfaces:
MessageCryptographyService
- All Known Implementing Classes:
MessageCryptographyServiceImpl
public interface MessageEncryptionService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EncryptionResultencrypt(byte[] data, String queueIdentifier)Encrypt message content.
-
-
-
Method Detail
-
encrypt
EncryptionResult encrypt(byte[] data, String queueIdentifier) throws CryptographyException, PublicCertificateNotFoundException
Encrypt message content.- Parameters:
data- Content that need to be encrypted.queueIdentifier- Identifier of queue.- Throws:
CryptographyExceptionPublicCertificateNotFoundException
-
-