Store RSA in a PEM file instead of xml

- RsaKeyGenerator automatically saves the RSA keys in a PEM file
- Corrects key bit size suggestion
This commit is contained in:
Cube
2016-03-04 18:47:29 +02:00
parent 0eb8a6e7e6
commit bde4061b8a
6 changed files with 71 additions and 39 deletions
+8
View File
@@ -22,4 +22,12 @@
<sourceDirectory>src/main</sourceDirectory>
<testSourceDirectory>src/test</testSourceDirectory>
</build>
<dependencies>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
</dependency>
</dependencies>
</project>