Class Validator
java.lang.Object
com.aquima.interactions.foundation.security.r4.Validator
- All Implemented Interfaces:
IValidator
Basic R4 envelope validator.
- Since:
- 5.1
- Author:
- m.hesselink
-
Constructor Summary
ConstructorsConstructorDescriptionValidator
(X509Certificate certificate) Create an new release 4 envelope validator. -
Method Summary
-
Constructor Details
-
Validator
Create an new release 4 envelope validator.- Parameters:
certificate
- The certificate for the validator.- Throws:
CryptoGraphicException
- This exception is thrown when an invalid certificate is passed to the constructor.
-
-
Method Details
-
validate
Validate the envelope.- Specified by:
validate
in interfaceIValidator
- Parameters:
envelope
- The envelope that should be validated.- Throws:
CryptoGraphicException
- This exception is thrown when the envelope is not valid for the current certificate.
-