Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Remove obsolete old (V1.2.0) version of XMLSecTool.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Jul 8, 2016
1 parent 939e7ea commit 9c78b61
Show file tree
Hide file tree
Showing 29 changed files with 0 additions and 484 deletions.
103 changes: 0 additions & 103 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
<property name="tools.mda" value="${tools.dir}/aggregator-cli-0.9.1"/>
<property name="tools.mdnorm" value="${tools.dir}/mdnorm"/>
<property name="tools.metadatatool" value="${tools.dir}/metadatatool"/>
<property name="tools.xmlsectool.old" value="${tools.dir}/xmlsectool"/>
<property name="tools.xmlsectool" value="${tools.dir}/xmlsectool-2.0.0/"/>
<property name="tools.xalan" value="${tools.dir}/xalan"/>

Expand Down Expand Up @@ -614,103 +613,6 @@
</sequential>
</macrodef>

<!--
*****************************************************
*** ***
*** X M L S E C T O O L T O O L ( O L D ) ***
*** ***
*****************************************************
-->

<macrodef name="XMLSECTOOL.old">
<attribute name="i"/><!-- input file, assumed to be in the XML directory -->
<element name="args" optional="yes"/>
<sequential>
<java classname="edu.internet2.middleware.security.XmlSecTool"
fork="true" failonerror="true" maxmemory="${java.max.memory}">
<classpath>
<fileset dir="${tools.xmlsectool.old}/lib">
<include name="*.jar"/>
</fileset>
</classpath>
<jvmarg value="-Djava.endorsed.dirs=${tools.xmlsectool.old}/lib/endorsed"/>
<jvmarg value="-Dedu.internet2.middleware.security.XmlSecTool.home=${tools.xmlsectool.old}"/>
<args/>
<arg value="--validateSchema"/>
<arg value="--schemaDirectory"/>
<arg value="${xml.dir}"/>
<arg value="--inFile"/>
<arg value="${xml.dir}/@{i}"/>
</java>
</sequential>
</macrodef>

<macrodef name="XMLSECTOOL.old.SIGN.uk">
<attribute name="i"/><!-- input file, assumed to be in the XML directory -->
<attribute name="o"/><!-- output file, assumed to be in the XML directory -->
<attribute name="digest"/><!-- digest function to use -->
<sequential>
<!-- delete the temporary file to be sure we don't use old data -->
<delete file="${xml.dir}/temp.xml" quiet="true" verbose="false"/>

<echo>Signing @{i} using digest @{digest}.</echo>

<!-- perform signing operation into temporary file -->
<XMLSECTOOL.old i="@{i}">
<args>
<arg value="--sign"/>

<!-- set digest to use -->
<arg value="--digest"/>
<arg value="@{digest}"/>

<!--
Sign using pkcs11Config with keystoreProvider
This only works with XmlSecTool 1.2.0 and later.
It requires the java.security file to be unmodified.
-->
<arg value="--pkcs11Config"/>
<arg value="${pkcs11.config}"/>
<arg value="--keystoreProvider"/>
<arg value="sun.security.pkcs11.SunPKCS11"/>

<arg value="--key"/>
<arg value="${keystore.uk.sign.alias}"/>
<arg value="--keyPassword"/>
<arg value="${keystore.pass}"/>
<arg value="--outFile"/>
<arg value="${xml.dir}/@{o}"/>
<arg value="--referenceIdAttributeName"/>
<arg value="ID"/>
<!--
<arg value="- -quiet"/>
-->
</args>
</XMLSECTOOL.old>

<!-- Force the output file to use Unix line endings -->
<fixcrlf file="${xml.dir}/@{o}" eol="lf" encoding="UTF-8"/>

</sequential>
</macrodef>

<macrodef name="XMLSECTOOL.old.VFY.uk">
<attribute name="i"/><!-- input file, assumed to be in the XML directory -->
<sequential>
<XMLSECTOOL.old i="@{i}">
<args>
<arg value="--verifySignature"/>
<arg value="--certificate"/>
<arg value="${mdx.dir}/uk/ukfederation-2014.pem"/>
<!--
<arg value="- -quiet"/>
-->
</args>
</XMLSECTOOL.old>
</sequential>
</macrodef>

<!--
*****************************************
*** ***
Expand Down Expand Up @@ -940,11 +842,6 @@
-->
<XMLSECTOOL.VFY.uk i="@{i}"/>

<!--
Verify using old version of xmlsectool.
-->
<XMLSECTOOL.old.VFY.uk i="@{i}"/>

</sequential>
</macrodef>

Expand Down
201 changes: 0 additions & 201 deletions tools/xmlsectool/doc/LICENSE.txt

This file was deleted.

33 changes: 0 additions & 33 deletions tools/xmlsectool/doc/RELEASE-NOTES.txt

This file was deleted.

22 changes: 0 additions & 22 deletions tools/xmlsectool/doc/xmlsectool.patch

This file was deleted.

Loading

0 comments on commit 9c78b61

Please sign in to comment.