PrivateKey to X509certificate2.PrivateKey
Status: Beta
Brought to you by:
fffbbb
Hello all,
I'm trying to sign pdf documento through iTextSharp and my smartcard. Well, all works fine, except for last step:
I read the X509certificate2 from smartcard and I'm able to get Net.Sf.Pkcs11.Object.PrivateKey, but how can I assign it to X509certificate2 PrivateKey property?
Namely, how can I convert (casting) that privateKey object to that x509certificate2.PrivateKey?
Hello,
You could sign?
Could you send the source code?
thank you