Keystore
Abdullah501 opened this issue · comments
Abdullah501 commented
KeyStore keystore = KeyStore.getInstance("PKCS12", BouncyCastleProvider.PROVIDER_NAME);
keystore.load(inputStream, chars(password));
return keystore;
Why we need to specify "BouncyCastleProvider.PROVIDER_NAME" in code?
Ryan Tenney commented
Specifying the provider tells java to use Bouncy Castle's KeyStore implementation. This project uses bouncycastle as the provider for all crypto functions.