![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hello! You wrote on Thu, 13 Apr 2006 02:09:32 -0400: MG> A fair number of people have asked about how to parse MG> old-fashioned OpenSSL PEM private keys (including encrypted ones) MG> to use them directly in .NET for signatures or encryption. MG> It is more secure to use pkcs #8 or 12, but those older PEM MG> private keys seem to be still used a lot! I must disagree on one thing - they are not "old". This is the default standard on all non-microsoft systems. And also, many people use PEM for key transfer because the format is textual (so the keys can be sent by IM or pasted into e-mail). With best regards, Eugene Mayevski |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
I must disagree on one thing - they are not "old". This is the default standard on all non-microsoft systems. And also, many people use PEM for key transfer because the format is textual (so the keys can be sent by IM or pasted into e-mail). |
#6
| |||
| |||
|
|
A fair number of people have asked about how to parse old-fashioned OpenSSL PEM private keys (including encrypted ones) to use them directly in .NET for signatures or encryption. .... Optionally all the key components are displayed after decoding (or decrypting). For RSA private keys, optionally the keypair can be exported to a pkcs #12 file. This is accomplished by creating a transient unsigned x509 certificate linked to the keypair (which is also not persisted). |
#7
| |||
| |||
|
#8
| |||
| |||
|
|
You wrote on Thu, 13 Apr 2006 08:09:14 -0700: AJ> I didn't realise PEM was a standard. I thought it was a proprietary AJ> format for OpenSSL. AJ> Where is the documentation for the standard? RFC 1421-1424 |
#9
| |||
| |||
|
|
"Eugene Mayevski" <mayevski (AT) eldos (DOT) com> wrote You wrote on Thu, 13 Apr 2006 08:09:14 -0700: AJ> I didn't realise PEM was a standard. I thought it was a proprietary AJ> format for OpenSSL. AJ> Where is the documentation for the standard? RFC 1421-1424 Very light on actual details and examples - I did a quick search for "BEGIN RSA PRIVATE KEY", for instance, and didn't find it. Perhaps this is part of the X.50* standards that I don't have access to. The only reference to "BEGIN" as part of the RFCs you list is in examples of the message format itself - "-----BEGIN PRIVACY-ENHANCED MESSAGE-----" Alun. ~~~~ |
#10
| |||
| |||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |