public void setKeyStore ( String keyStore , String keyPass , String keyManagerType , String keyStoreType ) { if ( ( keyStore == null ) || ( keyPass == null ) ) { this . keyStore = System . getProperty ( "javax.net.ssl.keyStore" ) ; this . keyPass = System . getProperty ( "javax.net.ssl.keyStorePassword" ) ; } else { this . keyStore = keyStore ; this . keyPass = keyPass ; } if ( keyManagerType != null ) { this . keyManagerType = keyManagerType ; } if ( keyStoreType != null ) { this . keyStoreType = keyStoreType ; } isKeyStoreSet = ( keyStore != null ) && ( keyPass != null ) ; }
Set the keystore password certificate type and the store type