Re: CryptAPI(encryption/decryption)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Unfortunately the Microsoft CSPs do not support importing keys in pem
format. You would need to convert your key to the blob format described in
http://msdn2.microsoft.com/en-us/library/ms884374.aspx (I believe there are
tools out on the internet that let you do this) or use a custom CSP that
supports keys in pem format.

--
Dylan DSilva
Software Development Engineer
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © Microsoft Corporation. All rights
reserved.

"S.Kumar" <SKumar@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D1B60822-0411-4666-8263-B58B2ECAF340@xxxxxxxxxxxxxxxx
Hi All,

I'm facing a problem in encryption decryption.
I have the privatekey in pem format.
How can I import this into CSP and decrypt the data which is encrypted
using
public key.

I tried using CryptImportKey () but no success.

Thanks



.



Relevant Pages

  • Re: PEM Format Information
    ... >keys i nthe standard format for interchangability. ... >RSA and I have seen several posts on PEM format but i cannot find ... the "PEM" files you see usually come from, although PEM is a misnomer, it ...
    (sci.crypt)
  • Re: Format of the Public/Private key BLOB
    ... I have a PEM file with private key to decrypt it. ... CryptAPI and Linux using Openssl. ... default DER format? ...
    (microsoft.public.platformsdk.security)
  • Re: MS Notepad problem !!!!
    ... Notebook is getting in a pickle because her version of 'Notepad' ... I've never experienced this 'format forgetfulness' and am at ... Now I aint too good in the typing dept and tend to mis-hit keys now ... of dithery frustration. ...
    (uk.people.silversurfers)
  • Re: MS Notepad problem !!!!
    ... Notebook is getting in a pickle because her version of 'Notepad' ... I've never experienced this 'format forgetfulness' and am at a loss ... Now I aint too good in the typing dept and tend to mis-hit keys now ... dithery frustration. ...
    (uk.people.silversurfers)
  • Re: Laptop puzzle
    ... Gerry Voras wrote in message ... Fdisk and format the hard drive, ... >> There is some limited control by using the Windows Key, direction arrow ... >> a bit with the Arrow keys, ...
    (microsoft.public.win2000.general)