bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug crypto/28556] KeyFactory "RSA" fails to parse some PKCS8 encoded ke


From: csm at gnu dot org
Subject: [Bug crypto/28556] KeyFactory "RSA" fails to parse some PKCS8 encoded keys
Date: 31 Jul 2006 21:00:06 -0000


------- Comment #3 from csm at gnu dot org  2006-07-31 21:00 -------
I think the issue is with reading the parameters field of the key; the ASN.1
says that that field is OPTIONAL, but it MAY be an explicit NULL value, like it
is here. Using 'openssl asn1parse' the output for this key is:

    0:d=0  hl=4 l= 632 cons: SEQUENCE          
    4:d=1  hl=2 l=   1 prim:  INTEGER           :00
    7:d=1  hl=2 l=  13 cons:  SEQUENCE          
    9:d=2  hl=2 l=   9 prim:   OBJECT            :rsaEncryption
   20:d=2  hl=2 l=   0 prim:   NULL              
   22:d=1  hl=4 l= 610 prim:  OCTET STRING


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28556





reply via email to

[Prev in Thread] Current Thread [Next in Thread]