mirror of https://github.com/apache/poi.git
upgrade bouncycastle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891116 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
132dbf936d
commit
17ff1ae0db
|
@ -100,7 +100,7 @@ subprojects {
|
||||||
|
|
||||||
version = '5.0.1-SNAPSHOT'
|
version = '5.0.1-SNAPSHOT'
|
||||||
ext {
|
ext {
|
||||||
bouncyCastleVersion = '1.68'
|
bouncyCastleVersion = '1.69'
|
||||||
commonsCodecVersion = '1.15'
|
commonsCodecVersion = '1.15'
|
||||||
commonsCompressVersion = '1.20'
|
commonsCompressVersion = '1.20'
|
||||||
commonsIoVersion = '2.10.0'
|
commonsIoVersion = '2.10.0'
|
||||||
|
|
12
build.xml
12
build.xml
|
@ -296,10 +296,11 @@ under the License.
|
||||||
|
|
||||||
<!-- xml signature libs - not part of the distribution -->
|
<!-- xml signature libs - not part of the distribution -->
|
||||||
<dependency prefix="dsig.xmlsec" artifact="org.apache.santuario:xmlsec:2.2.2" usage="ooxml-provided"/>
|
<dependency prefix="dsig.xmlsec" artifact="org.apache.santuario:xmlsec:2.2.2" usage="ooxml-provided"/>
|
||||||
<dependency prefix="dsig.bouncycastle-prov" artifact="org.bouncycastle:bcprov-jdk15on:1.68" usage="ooxml-provided"/>
|
<dependency prefix="dsig.bouncycastle-prov" artifact="org.bouncycastle:bcprov-jdk15on:1.69" usage="ooxml-provided"/>
|
||||||
<dependency prefix="dsig.bouncycastle-pkix" artifact="org.bouncycastle:bcpkix-jdk15on:1.68" usage="ooxml-provided"/>
|
<dependency prefix="dsig.bouncycastle-pkix" artifact="org.bouncycastle:bcpkix-jdk15on:1.69" usage="ooxml-provided"/>
|
||||||
|
<dependency prefix="dsig.bouncycastle-util" artifact="org.bouncycastle:bcutil-jdk15on:1.69" usage="ooxml-provided"/>
|
||||||
<!-- only used for signing the release - not used with the ooxml signatures -->
|
<!-- only used for signing the release - not used with the ooxml signatures -->
|
||||||
<dependency prefix="dsig.bouncycastle-bcpg" artifact="org.bouncycastle:bcpg-jdk15on:1.68" usage="util"/>
|
<dependency prefix="dsig.bouncycastle-bcpg" artifact="org.bouncycastle:bcpg-jdk15on:1.69" usage="util"/>
|
||||||
|
|
||||||
<!-- svg/batik/pdf libs - not part of the distribution - move batik to its own directory because of JPMS module-path issues -->
|
<!-- svg/batik/pdf libs - not part of the distribution - move batik to its own directory because of JPMS module-path issues -->
|
||||||
<dependency prefix="svg.xml-apis-ext" artifact="xml-apis:xml-apis-ext:1.3.04" usage="ooxml-batik"/>
|
<dependency prefix="svg.xml-apis-ext" artifact="xml-apis:xml-apis-ext:1.3.04" usage="ooxml-batik"/>
|
||||||
|
@ -468,6 +469,7 @@ under the License.
|
||||||
<pathelement location="${dsig.xmlsec.jar}"/>
|
<pathelement location="${dsig.xmlsec.jar}"/>
|
||||||
<pathelement location="${dsig.bouncycastle-prov.jar}"/>
|
<pathelement location="${dsig.bouncycastle-prov.jar}"/>
|
||||||
<pathelement location="${dsig.bouncycastle-pkix.jar}"/>
|
<pathelement location="${dsig.bouncycastle-pkix.jar}"/>
|
||||||
|
<pathelement location="${dsig.bouncycastle-util.jar}"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<path id="ooxml.base.classpath">
|
<path id="ooxml.base.classpath">
|
||||||
|
@ -691,6 +693,7 @@ under the License.
|
||||||
<fileset dir="${basedir}/lib/ooxml-provided">
|
<fileset dir="${basedir}/lib/ooxml-provided">
|
||||||
<include name="bc*-1.65.jar"/>
|
<include name="bc*-1.65.jar"/>
|
||||||
<include name="bc*-1.66.jar"/>
|
<include name="bc*-1.66.jar"/>
|
||||||
|
<include name="bc*-1.68.jar"/>
|
||||||
<include name="batik*.jar"/>
|
<include name="batik*.jar"/>
|
||||||
<include name="slf4j*-1.7.30.jar"/>
|
<include name="slf4j*-1.7.30.jar"/>
|
||||||
<include name="xmlsec*-2.2.1.jar"/>
|
<include name="xmlsec*-2.2.1.jar"/>
|
||||||
|
@ -742,6 +745,7 @@ under the License.
|
||||||
<available file="${forbidden.jar}"/>
|
<available file="${forbidden.jar}"/>
|
||||||
<available file="${dsig.bouncycastle-prov.jar}"/>
|
<available file="${dsig.bouncycastle-prov.jar}"/>
|
||||||
<available file="${dsig.bouncycastle-pkix.jar}"/>
|
<available file="${dsig.bouncycastle-pkix.jar}"/>
|
||||||
|
<available file="${dsig.bouncycastle-util.jar}"/>
|
||||||
<available file="${dsig.xmlsec.jar}"/>
|
<available file="${dsig.xmlsec.jar}"/>
|
||||||
<available file="${main.commons-collections4.jar}"/>
|
<available file="${main.commons-collections4.jar}"/>
|
||||||
<available file="${main.commons-math3.jar}"/>
|
<available file="${main.commons-math3.jar}"/>
|
||||||
|
@ -799,6 +803,7 @@ under the License.
|
||||||
<downloadfile src="${forbidden.url}" dest="${forbidden.jar}"/>
|
<downloadfile src="${forbidden.url}" dest="${forbidden.jar}"/>
|
||||||
<downloadfile src="${dsig.bouncycastle-prov.url}" dest="${dsig.bouncycastle-prov.jar}"/>
|
<downloadfile src="${dsig.bouncycastle-prov.url}" dest="${dsig.bouncycastle-prov.jar}"/>
|
||||||
<downloadfile src="${dsig.bouncycastle-pkix.url}" dest="${dsig.bouncycastle-pkix.jar}"/>
|
<downloadfile src="${dsig.bouncycastle-pkix.url}" dest="${dsig.bouncycastle-pkix.jar}"/>
|
||||||
|
<downloadfile src="${dsig.bouncycastle-util.url}" dest="${dsig.bouncycastle-util.jar}"/>
|
||||||
<downloadfile src="${dsig.xmlsec.url}" dest="${dsig.xmlsec.jar}"/>
|
<downloadfile src="${dsig.xmlsec.url}" dest="${dsig.xmlsec.jar}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
@ -2696,6 +2701,7 @@ under the License.
|
||||||
</fileset>
|
</fileset>
|
||||||
<auxClasspath path="${dsig.bouncycastle-pkix.jar}" />
|
<auxClasspath path="${dsig.bouncycastle-pkix.jar}" />
|
||||||
<auxClasspath path="${dsig.bouncycastle-prov.jar}" />
|
<auxClasspath path="${dsig.bouncycastle-prov.jar}" />
|
||||||
|
<auxClasspath path="${dsig.bouncycastle-util.jar}" />
|
||||||
<auxClasspath path="${dsig.xmlsec.jar}" />
|
<auxClasspath path="${dsig.xmlsec.jar}" />
|
||||||
<auxClasspath path="${ooxml.xsds.jar}" />
|
<auxClasspath path="${ooxml.xsds.jar}" />
|
||||||
<auxClasspath path="${ooxml.curvesapi.jar}" />
|
<auxClasspath path="${ooxml.curvesapi.jar}" />
|
||||||
|
|
|
@ -79,12 +79,17 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.bouncycastle</groupId>
|
<groupId>org.bouncycastle</groupId>
|
||||||
<artifactId>bcpkix-jdk15on</artifactId>
|
<artifactId>bcpkix-jdk15on</artifactId>
|
||||||
<version>1.68</version>
|
<version>1.69</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.bouncycastle</groupId>
|
<groupId>org.bouncycastle</groupId>
|
||||||
<artifactId>bcprov-jdk15on</artifactId>
|
<artifactId>bcprov-jdk15on</artifactId>
|
||||||
<version>1.68</version>
|
<version>1.69</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.bouncycastle</groupId>
|
||||||
|
<artifactId>bcutil-jdk15on</artifactId>
|
||||||
|
<version>1.69</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.santuario</groupId>
|
<groupId>org.apache.santuario</groupId>
|
||||||
|
|
|
@ -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
|
- XML Commons Resolver: https://mvnrepository.com/artifact/xml-resolver/xml-resolver/1.2-osgi
|
||||||
|
|
||||||
- Bouncy Castle: https://mvnrepository.com/artifact/org.bouncycastle/bcprov-ext-jdk15on/1.68, https://mvnrepository.com/artifact/org.bouncycastle/bcpkix-jdk15on/1.68
|
- Bouncy Castle: https://mvnrepository.com/artifact/org.bouncycastle/bcprov-ext-jdk15on/1.69, https://mvnrepository.com/artifact/org.bouncycastle/bcpkix-jdk15on/1.69
|
||||||
4. PDFBox and PDFBox Graphics2D
|
4. PDFBox and PDFBox Graphics2D
|
||||||
Required to render to PDF documents.
|
Required to render to PDF documents.
|
||||||
The required jars can be downloaded from:
|
The required jars can be downloaded from:
|
||||||
|
|
|
@ -52,6 +52,7 @@ dependencies {
|
||||||
api "org.apache.commons:commons-compress:${commonsCompressVersion}"
|
api "org.apache.commons:commons-compress:${commonsCompressVersion}"
|
||||||
api 'org.apache.santuario:xmlsec:2.2.2'
|
api 'org.apache.santuario:xmlsec:2.2.2'
|
||||||
api "org.bouncycastle:bcpkix-jdk15on:${bouncyCastleVersion}"
|
api "org.bouncycastle:bcpkix-jdk15on:${bouncyCastleVersion}"
|
||||||
|
api "org.bouncycastle:bcutil-jdk15on:${bouncyCastleVersion}"
|
||||||
api 'com.github.virtuald:curvesapi:1.06'
|
api 'com.github.virtuald:curvesapi:1.06'
|
||||||
implementation "org.apache.logging.log4j:log4j-api:${log4jVersion}"
|
implementation "org.apache.logging.log4j:log4j-api:${log4jVersion}"
|
||||||
|
|
||||||
|
|
|
@ -129,12 +129,17 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.bouncycastle</groupId>
|
<groupId>org.bouncycastle</groupId>
|
||||||
<artifactId>bcpkix-jdk15on</artifactId>
|
<artifactId>bcpkix-jdk15on</artifactId>
|
||||||
<version>1.68</version>
|
<version>1.69</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.bouncycastle</groupId>
|
<groupId>org.bouncycastle</groupId>
|
||||||
<artifactId>bcprov-jdk15on</artifactId>
|
<artifactId>bcprov-jdk15on</artifactId>
|
||||||
<version>1.68</version>
|
<version>1.69</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.bouncycastle</groupId>
|
||||||
|
<artifactId>bcutil-jdk15on</artifactId>
|
||||||
|
<version>1.69</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.santuario</groupId>
|
<groupId>org.apache.santuario</groupId>
|
||||||
|
|
Loading…
Reference in New Issue