Commons Codec
  1. Commons Codec
  2. CODEC-40

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

    Details

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

      Operating System: All
      Platform: All

      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.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Chris Black
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development