I need to export private key from Windows store. What should I do if the key is marked as non-exportable? I know that it is possible, program jailbreak can export this key.
To export key I use Org.BouncyCastle.Security.DotNetUtilities.GetKeyPair()
that exports key from (RSACryptoServiceProvider)cryptoProv.ExportParameters(true)
. Exported key I use in Org.BouncyCastle.Cms.CmsSignedDataGenerator
for CMS signature.
I need solution for .Net, but any solution will be useful. Thank you.