Tamir,

What are you talking about?
DER encoding doesn't say anything about how the length of RSA key 
elements compare to each others.

Read X.690 again, and PKCS#1 also. If you still come with the same 
conclusion, re-read again, and again, and again.

Le 02/04/2012 17:09, Tamir Khason via RT a écrit :
> Erwann, Peter
> This is right, but all numbers are integers and should be encodeed
> accordingly. If encoding assuming fixed size integers, it should use
> length octets, if not end-of-contents octets. At least this is how i
> read 8.1 from ASN.1 spec
> (http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf).
> This is why i think there is a bug in ASN.1 encoding of the
> certificate
>

-- 
Erwann ABALEA
-----
nosovermiculotracter: interroger


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to