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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Nightly Builds
    • 1.4
    • None
    • Operating System: All
      Platform: All

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: