In MS .NET, an RSA key can be saved to an XML file like this:

<RSAKeyValue>
  <Modulus>7M85MCazFZv2ro3mqje85mEsh6mb.....</Modulus>
  <Exponent>AQAB</Exponent>
  <P>M85MCazFZv......</P>
<snip>

I have no problem in creating such an XML format from an OpenSSL RSA* structure.
But how do I create an RSA* from this XML?

I can easily load the XML, strip the Base64 encoding and end up with some byte 
bufferes containing modulus, exponent, primes etc, but how do I assign these buffers 
to a valid OpenSSL RSA* structure.

Med venlig hilsen / Best regards

Kim Hellan
KMD / KMD-CA
http://www.kmd-ca.dk
Mailto:khe@;kmd.dk

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to