I'm signing a document using PgP with the help of the bouncycastle library in c#. How do I verify a signed docum开发者_开发技巧ent to ensure that it is signed by the correct person or to even identify who signed it.
I'm using the code from the question with some little modifications to sign the file. The keys are self generated.
Edit:
I'm able to verify a signed file using information from this link. In an encrypted and signed file, I'm however unable to get the PgpSignatureList
to use for verification. I'm however able to get the LiteralData and decryption works.
regards
The Bouncy Castle C# project contains an equivalent example.
精彩评论