Class Decryptor
java.lang.Object
com.aquima.interactions.foundation.security.r4.Decryptor
- All Implemented Interfaces:
IDecryptor
This class is responsible for decrypting an envelope using the certificate it is constructed with.
- Since:
- 5.1
- Author:
- m.hesselink
-
Constructor Summary
ConstructorsConstructorDescriptionDecryptor
(DesCertificate certificate) Constructs the decryptor with the certificate that should be used. -
Method Summary
-
Constructor Details
-
Decryptor
Constructs the decryptor with the certificate that should be used.- Parameters:
certificate
- The certificate that should be used for decrypting.- Throws:
CryptoGraphicException
- This exception is thrown when an invalid certificate is passed to the constructor.
-
-
Method Details
-
decrypt
Description copied from interface:IDecryptor
Decrypt the envelope.- Specified by:
decrypt
in interfaceIDecryptor
- Parameters:
envelope
- envelope to decrypt
-