>On Tue 16/06/09 3:09 PM , carlyo...@keycomm.co.uk sent:
>
>Is it possible that the key was not exported as PKCS#8 and was just exported 
>to DER just using i2d_PrivateKey >or similar?
>
>You can use openssl asn1parse to check:
>
>"openssl asn1parse -in my.key -inform der"
>
>If it is PKCS#8 exported, then you should see sequence, integer, sequence, 
>object (RSAEnc) and a single octet >string.
>
>If it is exported directly, then I think you get 6 or more octet strings 
>listed.

My memory is bad - if it is exported directly, then you get a SEQUENCE followed 
by 9 integers or something from the PKCS#1 ASN.1 definition of a private key.

Carl


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to