classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: fix various problems with X500Principal


From: Casey Marshall
Subject: [cp-patches] FYI: fix various problems with X500Principal
Date: Sun, 7 Aug 2005 19:57:23 -0700

I'm checking in this patch that fixes a few problems with X500Principal -- in parsing string-based representations, then writing them out again in the binary format for X.500 distinguished names.

I'm sure the code is still quite bad. The crypto and security stuff in Classpath really do need more attention and testing than I can provide.

2005-08-07  Casey Marshall  <address@hidden>

    * javax/security/auth/x500/X500Principal.java
    (encodeDer): use the right iterator for the inner loop.
    (parseString): test for end of input.
    (readAttributeType): provide detail message for exception.
    (readAttributeValue): return the result on end of input;
    read the next character while looping.
    (putComponent): accept 'o' and 'ou' short names.


Attachment: x500.patch.txt
Description: Text document


reply via email to

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