CheckP7MSignature
Group |
|
Class Name |
com.ebd.hub.datawizard.parser.CheckP7MSignature |
Function |
Validates signed input data (in P7M format) as part of a connection to FatturaPA. |
Configuration File |
p7m.properties |
Description
This preparser is able to validate signed input data as part of a connection to FatturaPA.
The preparser expects input data in the so-called P7M format. The signature must not be 'detached' (P7S), i.e. the whole thing has to come as one block. The tax authority certificate (partner certificate) to be used for the validation is defined in key signcert.id (certificate ID) in the configuration file. Example:
p7m.properties
signcert.id=1234567890123
If the validation is successful, the preparser returns the data contained in the signature block. If it fails, processing is aborted with an exception.