Class Signer
java.lang.Object
com.aquima.interactions.foundation.security.r4.Signer
- All Implemented Interfaces:
ISigner
Basic R4 envelope signer.
- Since:
- 5.1
- Author:
- m.hesselink
-
Constructor Summary
ConstructorsConstructorDescriptionSigner
(PKCS8Certificate certificate) Create a new Release 4 envelope signer. -
Method Summary
-
Constructor Details
-
Signer
Create a new Release 4 envelope signer.- Parameters:
certificate
- certificate used to sign the message- Throws:
CryptoGraphicException
- when the certificate was not provided
-
-
Method Details
-
sign
Sign the data in the envelope.- Specified by:
sign
in interfaceISigner
- Parameters:
envelope
- the envelope to sign- Throws:
CryptoGraphicException
- when the envelope was not providedCryptoGraphicException
- when the envelope is not a valid release 4 envelopeCryptoGraphicException
- when the envelope could not be signed
-