You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2008/03/08 08:51:46 UTC
[jira] Commented: (CODEC-40) [codec] Patch to add crypto-compatible
BigInteger encoding support to Base64
[ https://issues.apache.org/jira/browse/CODEC-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576510#action_12576510 ]
Henri Yandell commented on CODEC-40:
------------------------------------
svn ci -m "Adding Chris Black's patch from CODEC-40 adding BigInteger support to Base64. Still needs edge case testing" src
Sending src/java/org/apache/commons/codec/binary/Base64.java
Sending src/test/org/apache/commons/codec/binary/Base64Test.java
Transmitting file data ..
Committed revision 634904.
> [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.