Wrong version of key store error. How can I create a version=1 keystore certificate?
I was able to get past this problem with the version of keystore. see: keytool error when creating BKS keystore: providerpath is not a legal command
java.io.IOException: Wrong version of key store. using SpongyCastle
i think it's in the line below:
ks.load(cert,null);
'load' is used to load a KeyStore file. You're trying to load a certificate. The formats of these two are absolutely different and that's why you're getting an error.
Related Topics
How to Programmatically Add Views and Constraints to a Constraintlayout
Android: Cannot Perform This Operation Because the Connection Pool Has Been Closed
How to Make Edittext Not Focused When Creating Activity
Parcelable and Inheritance in Android
Encrypt with Node.Js Crypto Module and Decrypt with Java (In Android App)
Android Studio - Failed to Find Target Android-18
Getlocationonscreen() VS Getlocationinwindow()
Android Color Between Two Colors, Based on Percentage
Android: Why Setvisibility(View.Gone); or Setvisibility(View.Invisible); Do Not Work
Onrequestpermissionsresult Not Being Called in Dialog Fragment
On Zoom Event for Google Maps on Android
How to Avoid Unnecessary Firestore Reads with Cache
Kotlin-Android: Unresolved Reference Databinding