[jira] Commented: (CODEC-40) [codec] Patch to add crypto-compatible BigInteger encoding support to Base64

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CODEC-40) [codec] Patch to add crypto-compatible BigInteger encoding support to Base64

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/CODEC-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565655#action_12565655 ]

Chris Black commented on CODEC-40:
----------------------------------

Wow, I can't believe that patch has come back after so long :)
Feel free to use it, let me know if you need me to do anything more official.

> [codec] Patch to add crypto-compatible BigInteger encoding support to Base64
> ----------------------------------------------------------------------------
>
>                 Key: CODEC-40
>                 URL: https://issues.apache.org/jira/browse/CODEC-40
>             Project: Commons Codec
>          Issue Type: Improvement
>    Affects Versions: Nightly Builds
>         Environment: Operating System: All
> Platform: All
>            Reporter: Chris Black
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: addCryptoIntegerCoding
>
>
> 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.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.