Skip to content

Commit 2d5afb5

Browse files
dabai827liuhuiqi.7
authored andcommitted
feat: 开发加密拦截器,支持以密文形式发送请求:(1)完成证书获取功能(2)完成请求加密和响应解密功能
feat: (1)去掉无关日志打印 (2)去掉通过环境变量获取证书功能 (3)支持图片格式的加密 feat: (1)修复调用复杂度较高的warning问题 feat:去掉不需要的示例和注释 feat:bouncycastle改为可选依赖 feat: 修复baseurl问题 feat(e2ee): add warning
1 parent 84f007e commit 2d5afb5

File tree

5 files changed

+1386
-1
lines changed

5 files changed

+1386
-1
lines changed

volcengine-java-sdk-ark-runtime/pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
<retrofit.version>2.9.0</retrofit.version>
2828
<rxjava2.version>2.0.0</rxjava2.version>
2929
<okhttp3-version>3.14.9</okhttp3-version>
30+
<bouncycastle-version>1.78.1</bouncycastle-version>
3031
</properties>
3132
<dependencies>
3233
<dependency>
@@ -70,5 +71,17 @@
7071
<artifactId>okhttp</artifactId>
7172
<version>${okhttp3-version}</version>
7273
</dependency>
74+
<dependency>
75+
<groupId>org.bouncycastle</groupId>
76+
<artifactId>bcprov-jdk18on</artifactId>
77+
<version>${bouncycastle-version}</version>
78+
<optional>true</optional>
79+
</dependency>
80+
<dependency>
81+
<groupId>org.bouncycastle</groupId>
82+
<artifactId>bcpkix-jdk18on</artifactId>
83+
<version>${bouncycastle-version}</version>
84+
<optional>true</optional>
85+
</dependency>
7386
</dependencies>
7487
</project>

0 commit comments

Comments
 (0)