AlessioScarfone / Java-Digital-Signature

Java command line tool for digital signature with PKCS#11 token.
GNU General Public License v3.0
35 stars 13 forks source link

help to resolve the problem #5

Open siavashshajari opened 3 years ago

siavashshajari commented 3 years ago

Hi, After pdf signing( PADES) with my own driver and hardware token, I am getting this error in signature verification in Adobe Acrobat. Error during the signature verification. Error Encountered while validating. Error Encountered while BER Decoding. in a detailed explanation of the error it is stated that the hash and encryption algorithm is not available. my certificate is completely ok. I have changed your code a little because it wasn't applicable in that way .but there seems to be some problem with your code have you please yourself tested your code on a pdf signing? I think that there is a problem with the certificate parsing I would have been appreciating if you help me. PdfSigning

siavashshajari commented 3 years ago

Untitled1 I think that I found the reason why my document is not verified by adobe Acrobat, but how can I fix it. the singer name is added by something random as it it is shown in the picture please help me