Re: How to decrypt encrypted PVK file ?
From: Michael Leung (mmhleung_at_hotmail.com)
Date: Fri, 24 Sep 2004 15:42:33 +1000
Is there a way to get around the PvkImprt step ?
Is it possible to do what PvkImprt do in code, using CryptoAPI ?
I would like to automate the signing process in code.
Thanks to your replies,
Daniel Sie [MSFT] wrote:
> Use the PvkImprt.exe utility to import the cert and key into PFX. Now using
> all public APIs, such as PFXImportCertStore,
> CryptAcquireCertificatePrivateKey(), and CryptExportKey(), you should be
> able to dump the key.