[new] enhance PemUtil#readPemKey method, support more pem format, depend on bcpkix-jdk15on

This commit is contained in:
changhr2013
2022-07-17 15:41:26 +08:00
parent a9310c2d30
commit 7c2e0ed887
10 changed files with 177 additions and 39 deletions

View File

@@ -34,5 +34,12 @@
<scope>compile</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
<version>${bouncycastle.version}</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
</dependencies>
</project>