<dependency prefix="main.antlauncher" artifact="org.apache.ant:ant-launcher:1.10.14" usage="excelant"/>
<!-- xml signature libs - not part of the distribution -->
- <dependency prefix="dsig.xmlsec" artifact="org.apache.santuario:xmlsec:3.0.2" usage="ooxml-provided"/>
+ <dependency prefix="dsig.xmlsec" artifact="org.apache.santuario:xmlsec:3.0.3" usage="ooxml-provided"/>
<dependency prefix="dsig.bouncycastle-prov" artifact="org.bouncycastle:bcprov-jdk18on:1.76" usage="ooxml-provided"/>
<dependency prefix="dsig.bouncycastle-pkix" artifact="org.bouncycastle:bcpkix-jdk18on:1.76" usage="ooxml-provided"/>
<dependency prefix="dsig.bouncycastle-util" artifact="org.bouncycastle:bcutil-jdk18on:1.76" usage="ooxml-provided"/>
3. Apache XML Security for Java, Bouncy Castle and XML Commons Resolver
These are required to sign or validate signed Office documents. The OSGi bundles are available in Maven Central:
- - Apache XML Security for Java: https://mvnrepository.com/artifact/org.apache.santuario/xmlsec/3.0.2 (use v3.0.2 with POI v5.2.3)
+ - Apache XML Security for Java: https://mvnrepository.com/artifact/org.apache.santuario/xmlsec/3.0.3
- XML Commons Resolver: https://mvnrepository.com/artifact/xml-resolver/xml-resolver/1.2-osgi
api "org.apache.logging.log4j:log4j-api:${log4jVersion}"
api 'org.apache.commons:commons-collections4:4.4'
- signingImplementation 'org.apache.santuario:xmlsec:3.0.2'
+ signingImplementation 'org.apache.santuario:xmlsec:3.0.3'
signingImplementation "org.bouncycastle:bcpkix-jdk18on:${bouncyCastleVersion}"
signingImplementation "org.bouncycastle:bcutil-jdk18on:${bouncyCastleVersion}"
- rendersignImplementation 'org.apache.santuario:xmlsec:3.0.2'
+ rendersignImplementation 'org.apache.santuario:xmlsec:3.0.3'
rendersignImplementation "org.bouncycastle:bcpkix-jdk18on:${bouncyCastleVersion}"
rendersignImplementation "org.bouncycastle:bcutil-jdk18on:${bouncyCastleVersion}"
* in the classpath:</p>
* <ul>
* <li>BouncyCastle bcpkix and bcprov (tested against 1.76)</li>
- * <li>Apache Santuario "xmlsec" (tested against 3.0.2)</li>
- * <li>and log4j-api (tested against 2.20.x)</li>
+ * <li>Apache Santuario "xmlsec" (tested against 4.0.0)</li>
+ * <li>and log4j-api (tested against 2.21.x)</li>
* </ul>
*/
public class SignatureInfo {