Hi Ricardo,
Thanks for your detailed explanation and code snippets.
I tested the issue as follows
->installed the certificate as you said[set private key with high level security option]
-> when I signed the document,I clicked the "cancel" button.
I received the output PDF signed with the certificate that I have mentioned in my code with verifcation error which is expected as we didn't provide the password[pressed cancel button].
1) Regarding your first question, Pdf has been signed by the certificate that you have mentioned but with verification error. You can find the details of the certificate that has been signed by viewing the signature properties. However, I am not clear about the question you have asked. Can you please ellobrate about which information you want to get programmatically?
Here is a sample PDF document generated.
Sample.pdf
2) Regarding your second question,
Can you please clarify me whether you are trying to sign multiple PDF documents with a single certificate using threads?
If so is the case,it prompts for the password for each thread.
Here is a sample for your reference:
Multithreading.zip
Please let me know if my assumptions doen't meets your need. Also, Can you please provide me the Essential studio version your are using. This will help me investigating further on this issue.
Regards,
Dhivya.