From 73fef78604035e94d2a183803e1236580fbd19a2 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Thu, 15 Jun 2023 15:35:39 +0000 Subject: [PATCH] bouncycastle 1.74 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910429 13f79535-47bb-0310-9956-ffa450edef68 --- build.gradle | 2 +- build.xml | 8 ++++---- osgi/README.md | 2 +- .../org/apache/poi/poifs/crypt/dsig/SignatureInfo.java | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 0d63efa898..7af144acff 100644 --- a/build.gradle +++ b/build.gradle @@ -117,7 +117,7 @@ subprojects { apply plugin: 'com.adarshr.test-logger' ext { - bouncyCastleVersion = '1.73' + bouncyCastleVersion = '1.74' commonsCodecVersion = '1.15' commonsCompressVersion = '1.23.0' commonsIoVersion = '2.13.0' diff --git a/build.xml b/build.xml index 8eb3eaea2a..fe55d8b263 100644 --- a/build.xml +++ b/build.xml @@ -296,11 +296,11 @@ under the License. - - - + + + - + diff --git a/osgi/README.md b/osgi/README.md index 8fb8dafb35..a77066c717 100644 --- a/osgi/README.md +++ b/osgi/README.md @@ -29,7 +29,7 @@ These are required to sign or validate signed Office documents. The OSGi bundles - XML Commons Resolver: https://mvnrepository.com/artifact/xml-resolver/xml-resolver/1.2-osgi - - Bouncy Castle: https://mvnrepository.com/artifact/org.bouncycastle/bcprov-ext-jdk18on/1.73, https://mvnrepository.com/artifact/org.bouncycastle/bcpkix-jdk18on/1.73 + - Bouncy Castle: https://mvnrepository.com/artifact/org.bouncycastle/bcprov-ext-jdk18on/1.74, https://mvnrepository.com/artifact/org.bouncycastle/bcpkix-jdk18on/1.74 4. PDFBox and PDFBox Graphics2D Required to render to PDF documents. The required jars can be downloaded from: diff --git a/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java b/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java index f0283b1f5a..cc919b3e6b 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java +++ b/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java @@ -153,7 +153,7 @@ import org.w3c.dom.events.MutationEvent; *

To use SignatureInfo and its sibling classes, you'll need to have the following libs * in the classpath:

*
    - *
  • BouncyCastle bcpkix and bcprov (tested against 1.73)
  • + *
  • BouncyCastle bcpkix and bcprov (tested against 1.74)
  • *
  • Apache Santuario "xmlsec" (tested against 3.0.2)
  • *
  • and log4j-api (tested against 2.20.x)
  • *