Some versions of BouncyCastle ago they have changed the internal structure of BKS files.
Therefore two different versions of BKS files exists: v1 and v2 files. Old BC libraries can not read v2 files which is especially a problem on Android which includes only the old version.
Starting with BC 1.49 there is finally a possibility to create v1 or v2 files just as needed.
The following patch adds the functionality for the new BKS-v1 format to Portecle. It includes all changes except for the two files bcprov-jdk15on-149.jar and bcpkix-jdk15on-149.jar.
I had to hack the KeyStoreType enum class a bit as "BKS-v1" is not a valid identifier for an enum because of the dash.
Log in to post a comment.