|
From: | cvs-commit at developer dot classpath dot org |
Subject: | [Bug crypto/28556] KeyFactory "RSA" fails to parse some PKCS8 encoded keys |
Date: | 2 Aug 2006 03:23:23 -0000 |
------- Comment #5 from cvs-commit at developer dot classpath dot org 2006-08-02 03:23 ------- Subject: Bug 28556 CVSROOT: /cvsroot/classpath Module name: classpath Changes by: Raif S. Naffah <raif> 06/08/02 03:22:10 Modified files: . : ChangeLog gnu/java/security/key/rsa: RSAKeyPairPKCS8Codec.java Log message: 2006-08-02 Raif S. Naffah <address@hidden> PR Classpath/28556 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey): Updated documentation to clarify that RFC-2459 states that the parameters field of the AlgorithmIdentifier element MUST be NULL if present. Amended the code to reflect the specs. (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8291&r2=1.8292 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java?cvsroot=classpath&r1=1.7&r2=1.8 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28556
[Prev in Thread] | Current Thread | [Next in Thread] |