Hi all, I need to import RSA public/private keys into a RSA object. The keys are output by OpenSSL. They look like:
-----BEGIN RSA PRIVATE KEY----- MIIBygIBAAJhANS1c5VhPikZk16sUrGD ....(more base64 encoded text)... xtfsjBFtV2QC9F8ji+aIAWH3Jvd4sGrTs -----END RSA PRIVATE KEY----- -----BEGIN PUBLIC KEY----- MHwwDQYJKoZIhvcNAQEBBQADawAwa ....(more base64 encoded text)... shqfeOdAJbehcg3dsJthMtCthE1Exes6HQI -----END PUBLIC KEY----- Any ideas on where I can start? I'd prefer to do this in .NET 1.1. just fyi...the keys are generated from the OpenSSL command: $ openssl genrsa -out private.key 768 and $ openssl rsa -in private.key -out public.key -pubout -outform PEM Thanks! Dave =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com