Re: Check the private key

2010-08-21 Thread Ingo Naumann
Hi Mounir, > As you can see from the ASN.1 dump, it starts with the version, followed by > the algorithm identifier and then the RSAPrivateKey encoding inside an > OctetString. Yes, you are right, of course. The structure I was referring to is the one inside. > Concerning Vladimir's question, th

Re: Check the private key

2010-08-20 Thread Mounir IDRASSI
Hi Ingo, You are mistaken : this keys is not an encoded RSAPrivateKey as defined by PKCS#1 but it's an encoded PrivateKeyInfo as defined in PKCS#8. Here is the ASN.1 definitions : PrivateKeyInfo ::= SEQUENCE { version Version, privateKeyAlgorithm AlgorithmIdentifier {{PrivateKeyAlgorithm

Re: Check the private key

2010-08-20 Thread Ingo Naumann
Vladimir, To me, your key looks like a standard 1024 RSA private key, in PKCS#1 format (see below). And, I'm getting the same error when I type openssl rsa -check http://www.rsa.com/rsalabs/node.asp?id=2125 RSAPrivateKey ::= SEQUENCE { version Version, modulus

Re: Check the private key

2010-08-19 Thread Christian Hohnstaedt
rtunately, I don't know this private key format. Can I do this (is it > PKCS#1, PKCS#12 or others)? And what do I need to do to disapear error > strings? > > Thank you! > > -- > View this message in co

Check the private key

2010-08-19 Thread VladimirShushkov
abble.com/Check-the-private-key-tp29475867p29475867.html Sent from the OpenSSL - User mailing list archive at Nabble.com. __ OpenSSL Project http://www.openssl.org User Support Mailing List