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
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
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
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
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