Re: PKI Question

From: Me2 (r_at_r.com)
Date: 09/29/03


Date: Mon, 29 Sep 2003 09:32:46 -0400


Zubin,

Here is an MSDN article on generating key pairs:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;313091

I'm not sure these are in PEM format, I'm not familiar with that.

Using with RSA, I don't know either, I believe you will be able to find some
info on these items in MSDN.

msdn.microsoft.com

Good luck,

-- 
Ralph Page  MBA, CMBA, MCDBA, MCSE, CCNA
-------------------------------------------------------------------------
"However beautiful the strategy, you should occasionally look at the
results."
-- Winston Churchill
-------------------------------------------------------------------------
"mm" <mehulbv@hotmail.com> wrote in message
news:ei4RpiihDHA.2296@TK2MSFTNGP09.phx.gbl...
> Hello Everyone,
>
> I am working on an application which needs to verify digitally signed MD5
> Hashes sent to us over HTTPS. Our clients application is written in Java
and
> we are
> developing our side of the application in C#. They have supplied me with
> their public key in PEM format. I have two questions...
>
> 1.  How do I generate a public and private key pair in PEM Format so I can
> provide my client with our public key. The only way I know is to use Open
> SSL to do this, can this be done through vs.net. I used the
> RSACryptoServiceProvider to generate the key pair and then dumped the keys
> into a text file using the ToXmlString() Method. but this gives me the
> Modules, Exponent, D, P,Q, ect. values in the file. How can I convert
these
> into a PEM Format?
>
> 2. How do I import the public key supplied to us in PEM format into an
> instance of RSACryptoServiceProvider so I can use the
> RSAPKCS1SignatureFormatter class to verify the message (MD5 Hash)
>
> Thanks in advance for all your help
>
> -Zubin
>
>


Relevant Pages

  • Re: PKI Question
    ... PEM format for private keys varies a bit. ... To instantiate an RSACryptoServiceProvider from a PEM public key, ... will discuss this in great detail (showing how to get this from certificate files, or any CryptoAPI ...
    (microsoft.public.dotnet.security)
  • PKI Question
    ... I am working on an application which needs to verify digitally signed MD5 ... Our clients application is written in Java and ... How do I generate a public and private key pair in PEM Format so I can ... provide my client with our public key. ...
    (microsoft.public.dotnet.security)
  • Re: RSA in python
    ... I tried the ezPyCrypto which is basically a higher level wrapper to pyCrypto ... but it fails to import public key in PEM format. ...
    (comp.lang.python)