public interface SslSettings
void setKeyStore(KeyStore keyStore) throws NoSuchAlgorithmException, KeyStoreException, KeyManagementException
keyStore- The key store containing custom CAs. (NonNull)
NoSuchAlgorithmException- Will be thrown when the encryption algorithm used is not valid.
KeyStoreException- Will be thrown when something went wrong during encryption/decryption (of account information).
KeyManagementException- Will be thrown when something went wrong related to the key management, like an expired key or the authentication failed.
- Adds a key store which contains custom certificate authorities (CAs). - The custom key store will be checked in case the default key store does not trust the server.