xmlsec 3.0.3

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913122 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2023-10-19 15:18:55 +00:00
parent cf440d3c77
commit 8759103c94
4 changed files with 6 additions and 6 deletions

View File

@ -295,7 +295,7 @@ under the License.
<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"/>

View File

@ -25,7 +25,7 @@ Available in Maven Central (but version might be too old): https://mvnrepository
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

View File

@ -66,11 +66,11 @@ dependencies {
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}"

View File

@ -154,8 +154,8 @@ import org.w3c.dom.events.MutationEvent;
* 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 {