Hi, we encrypt a file with gpgsm with X.509 certificate.
We will write c# .net code to decrypt this message.
When encrypt - from log:
gpgsm: DBG: hash algo: 1.2.840.1135126.96.36.199
gpgsm: DBG: SHA1 Fingerprint:
1.2.840.1135188.8.131.52 = sha256RSA
from audit log:
Do you have any recommendations on how to do this in c#?
see gpgme bindings at https://wiki.gnupg.org/APIs
otherwise I believe that windows crypto api should give you low level
functions for dealing with the hybrid decryption (though it may take a bit of code to get revocation and other PKIX features working).
I’m not able to open the link to the C# wrappers “gpgme-sharp” in
Where can I download the .dll?
as this is a wiki, some entries may be out of date.
I’ve at least found a new link to the gpgme-sharp source code.
I cannot say if this is a good base for a library or not.
One additional way is to describe the task you want to solve
and ask on one of the mailinglists for hints.