bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/25144] javax.crypto.EncryptedPrivateKeyInfo fails when en


From: csm at gnu dot org
Subject: [Bug classpath/25144] javax.crypto.EncryptedPrivateKeyInfo fails when encoding an java.security.AlgorithmParameters instance
Date: 29 Nov 2005 06:22:43 -0000


------- Comment #2 from csm at gnu dot org  2005-11-29 06:22 -------
Confirmed. The DER encoder/decoder in Classpath is not very good (I wrote it,
so its OK if I say it sucks), and uses a "marker" constant Object instance to
signal certain things.

The best thing to do here is to just write the encoded algorithm parameters
directly, instead of jumping through the encode/decode/encode hoop. I think
there's some issues with the length of the encoded (sub-)objects, but nothing
too hard to fix.


-- 

csm at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |csm at gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-11-29 06:22:43
               date|                            |


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





reply via email to

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