Open IonutCorbu opened 9 months ago
UPDATE: I modified the code to add the ESS_Signing_Certificate_V2, but I receive this error:
An error occurred while trying to save the file.
The file might be locked, corrupt, or unavailable.
Detailed error:
vector too long
I think this happens because the size of the initial vector allocated for the signature is exceeded, do you know how to resize it to don't exceed the limits?
Hello! I'm trying to develop an API for PAdES Signatures using PDFTron and OpenSSL and I have an issue while adding signingCertificatev2 attribute which is required by PAdES standard. I tried to use this slice of code to create ESS_SIGNING_CERT field:
I also tried to create this field using this method:
my function has the following code:
Now, the issue is that my signature is recognized by FoxitReader, but not by AdobeReader. The error that I encounter is this one:![image](https://github.com/openssl/openssl/assets/85988309/ecb99af6-c70a-4476-a908-20f091df68f7)
In FoxitReader, the signature does not have any problem:![image](https://github.com/openssl/openssl/assets/85988309/0bcd571a-ca54-4bd3-8755-4f340bcf4cf6)
Using DSS Verification I obtained the following results:
![image](https://github.com/openssl/openssl/assets/85988309/c9895136-4c30-4717-a8d2-03137b99c08f)
I attach here also the report of DSS: DSS-Detailed-report.pdf
I used a GemBox PKCS12 for testing.
Could you help me? Best Wishes, Ionut Corbu