[cp-patches] GNU Crypto ISO 10126 Padding

Matthew Wringe mwringe at redhat.com
Mon Jun 5 15:25:37 UTC 2006


On Fri, 2006-06-02 at 20:04 +1000, Raif S. Naffah wrote:
> hello Mathew,
> 
> On Thursday 01 June 2006 09:52, Matthew Wringe wrote:
> > GNU Crypto currently doesn't implement the ISO 10126-2 padding
> > algorithm, this algorithm is used in xml encryption.
> >
> > The attached patch and java file will add ISO 10126 support to GNU
> > Crypto.
> >
> > Thanks,
> 
> thanks for your contribution.  2 comments though:
> 
> * in the crypto backend, we prefer the use of the PRNG utility class 
> rather than SecureRandom --see gnu.java.security.sig.BaseSignature.
> 
> * the layout does not follow the style of GNU Classpath --see any of the 
> latest new classes in CVS.

Ok, I have updated the class to use the PRNG utility class, and I have
updated the class to better conform to the GNU Classpath coding style.
If there is anything else I need to change please let me know.

Also, has anyone gotten the eclipse checkstyle plugin
(http://eclipse-cs.sourceforge.net/) to work with the classpath
checkstyle-config.xml file? I keep on getting errors with the treewalker
and the header.

Thanks,

Matt Wringe


> 
> cheers;
> rsn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ISO10126.java
Type: text/x-java
Size: 3054 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060605/f008c9cd/ISO10126.java
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ISO10126Padding.patch
Type: text/x-patch
Size: 1550 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060605/f008c9cd/ISO10126Padding.bin


More information about the Classpath-patches mailing list