Interface EncryptionService
-
- All Known Subinterfaces:
CertificateBasedCryptographyService
- All Known Implementing Classes:
RSACryptographyService
public interface EncryptionService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]encrypt(byte[] data, String queueIdentfier)Encrypts data for specific queue.
-
-
-
Method Detail
-
encrypt
byte[] encrypt(byte[] data, String queueIdentfier) throws CryptographyException, PublicCertificateNotFoundExceptionEncrypts data for specific queue.- Parameters:
data- Content that need to be encrypted.queueIdentfier- Identifier of queue.- Throws:
CryptographyExceptionPublicCertificateNotFoundException
-
-