I'm trying to get x509Certificate2 instance with PrivateKey using Pkcs11Interop and Pkcs11Interop.X509Store libraries.
Because x509Certificate2 object is required when WCF Soap sign configuration and Mimekit SMime signature and also many libraries requires x509Certificate2 object for digital signature.
Is that possible? Can i get x509Certificate2 instance with PrivateKey using Pkcs11Interop library or Pkcs11Interop extensions like X509Store?
Pkcs11Interop.X509Store supplies the x509Certificate2 instance without PrivateKey and separate RSA instance and I need to merge them into x509Certificate2...