Code example for KeyManagementException

Methods: printStackTrace

0
			sc.init(null, trustAllCerts, new java.security.SecureRandom()); 
 
			HttpsURLConnection 
					.setDefaultSSLSocketFactory(sc.getSocketFactory()); 
		} catch (KeyManagementException kme) { 
			kme.printStackTrace(); 
		} catch (NoSuchAlgorithmException nsae) { 
			nsae.printStackTrace(); 
		} 
	 
 
	} 
	public  String setRefreshToken(String Username, String Password){ 
		return callRefreshToken("",Username, Password); 
	} 
	public  String setRefreshToken(String data){ 
		return callRefreshToken(data,"",""); 
	} 
	 
	private  String callRefreshToken(String data, String Username, String Password){ 
		String rtoken="";