AlessioScarfone/Java-Digital-Signature

help to resolve the problem

siavashshajari opened this issue · 1 comments

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

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