CheckP7MSignature

Prev Next

Class name

com.ebd.hub.datawizard.parser.CheckP7MSignature

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:

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.