I'm checking this in.

This removes two of the four Base-64 classes we have in Classpath (the last one is stream-based, so I'm not going to muck with it just yet) and updates the code to use the one implementation everywhere.

I'm using the version that I wrote (since I volunteered to do this, I assumed veto power over which version to use ;-), which was in gnu.javax.net.ssl. I've moved that class to gnu.java.util.Base64, so if you have Base-64 encoding needs, use that one from now on!

2007-01-31  Casey Marshall  <[EMAIL PROTECTED]>

        * gnu/javax/net/ssl/Base64.java: move to `gnu/java/util/Base64.java.'
        * gnu/javax/net/ssl/PrivateCredentials.java: clean up unused imports.
        (add): use `gnu.java.util.Base64.'
        * gnu/java/net/protocol/http/Request.java (authenticate): use
        `gnu.java.util.Base64.'
        * tools/gnu/classpath/tools/jarsigner/HashUtils.java (hashStream):
        likewise.
        * tools/gnu/classpath/tools/keytool/CertReqCmd.java (start): likewise.
        * tools/gnu/classpath/tools/keytool/ExportCmd.java (start): likewise.
        * tools/gnu/classpath/tools/keytool/ListCmd.java (printRFC1421):
        likewise.
        * gnu/java/net/Base64.java: removed.
        * gnu/java/security/util/Base64.java: removed.

Cheers.

Attachment: base64.patch
Description: Binary data

Reply via email to