Re: PKI Question
From: Ivan Medvedev [MS] (ivanmed_at_online.microsoft.com)
Date: 09/29/03
- Previous message: Joubert: "Re: DLL Hell in .NET"
- In reply to: mm: "PKI Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 29 Sep 2003 10:30:54 -0700
Zubin -
.NET Framework does not have any built-in functionality for working with PEM
format. Unless somebody has already done it and put on the Internet, you
will probably have to study the format and write the conversion utility
yourself.
--Ivan
http://blogs.gotdotnet.com/ivanmed
This message is provided "AS IS" with no
"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
>
>
- Previous message: Joubert: "Re: DLL Hell in .NET"
- In reply to: mm: "PKI Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|