The source project of this merge request has been removed.
Add support for signing and validating CR electronic receipts by using official certificates
Validating "CA Raiz Ministerio de Hacienda" certificates is disabled by default on purpose as this CA is not part of the official Costa Rican CA trust.
The validator will drop signature policy failure on invalid pdf hashes (there are lots of XML receipt signers out there doing this in a wrong way because MH validator does not validate the policy hash or using an invalid 4.3 URI version or with incorrect URL encoding).