Uploaded image for project: 'Commons Codec'
  1. Commons Codec
  2. CODEC-40

[codec] Patch to add crypto-compatible BigInteger encoding support to Base64

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Nightly Builds
    • Fix Version/s: 1.4
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Bugzilla Id:
      38657

      Description

      There are crypto standards that require large integers for keys to be encoded in
      base64 with some special caveats (no sign bit, padding, etc). One of the
      standards that requires this is the w3c's XML-Signature standard. This patch
      adds this support along with junit tests. This code is taken from the Apache XML
      Security project's own Base64 class and changed to be more readable and add
      junit tests.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              chris@lotuscat.com Chris Black
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: