Sean, including "ant mega-sample"??? Anyways checked in the updates to config.xml.
thanks, dims On Tue, 22 Jun 2004 13:45:07 -0400, Sean Mullan <[EMAIL PROTECTED]> wrote: > > Sun's JCE provider that is bundled with J2SE 1.5 Beta 2 > (http://java.sun.com/j2se/1.5.0/download.jsp) now passes > all of the Apache XML Security tests. With beta 1, there were still > some outstanding failures with key wrapping tests but they have all > been fixed now. Can one of the committers please apply the changes > below to the org/apache/xml/security/resource/config.xml file to pick > up the new algorithms in the JCE provider? To use Sun's JCE provider, > download the Beta 2 JRE and edit the provider.properties file and set > the following (replace $JAVA_HOME with appropriate location): > > # Specify your preferred provider, together with the download location > # of the provider file in this section. > jce.provider.source = file:$JAVA_HOME/lib/ext/ > jce.provider.prefix = sun1.5beta2 > jce.provider.jar = sunjce_provider.jar > > $ diff -c config.xml.orig config.xml > *** config.xml.orig Tue Jun 22 10:57:30 2004 > --- config.xml Tue Jun 22 11:09:14 2004 > *************** > *** 446,451 **** > --- 446,454 ---- > <ProviderAlgo ProviderId="BC" > RequiredKey="DESEDE" > JCEName="DESEDEWrap" /> > + <ProviderAlgo ProviderId="SunJCE" > + RequiredKey="DESede" > + JCEName="DESedeWrap" /> > <!-- <ProviderAlgo ProviderId="BC" JCEName="DESEDEWrap" > RequiredKey="DESEDE" /> --> > </Algorithm> > <Algorithm URI="http://www.w3.org/2001/04/xmlenc#kw-aes128" > *************** > *** 457,462 **** > --- 460,468 ---- > <ProviderAlgo ProviderId="BC" > JCEName="AESWrap" > RequiredKey="AES" /> > + <ProviderAlgo ProviderId="SunJCE" > + JCEName="AESWrap" > + RequiredKey="AES" /> > <!-- <ProviderAlgo ProviderId="BC" JCEName="AESWrap" > RequiredKey="AES" /> --> > </Algorithm> > <Algorithm URI="http://www.w3.org/2001/04/xmlenc#kw-aes192" > *************** > *** 468,473 **** > --- 474,482 ---- > <ProviderAlgo ProviderId="BC" > JCEName="AESWrap" > RequiredKey="AES" /> > + <ProviderAlgo ProviderId="SunJCE" > + JCEName="AESWrap" > + RequiredKey="AES" /> > <!-- <ProviderAlgo ProviderId="BC" JCEName="AESWrap" > RequiredKey="AES" /> --> > </Algorithm> > <Algorithm URI="http://www.w3.org/2001/04/xmlenc#kw-aes256" > *************** > *** 479,484 **** > --- 488,496 ---- > <ProviderAlgo ProviderId="BC" > JCEName="AESWrap" > RequiredKey="AES" /> > + <ProviderAlgo ProviderId="SunJCE" > + JCEName="AESWrap" > + RequiredKey="AES" /> > <!-- <ProviderAlgo ProviderId="BC" JCEName="AESWrap" > RequiredKey="AES" /> --> > </Algorithm> > </Algorithms> > > -- Davanum Srinivas - http://webservices.apache.org/~dims/