Code example for X509TrustManager

Methods: checkServerTrusted

0
			throws CertificateException, IllegalArgumentException { 
			 
			if(certs != null && certs.length == 1) {
				certs[0].checkValidity();
			} else { 
				_manager.checkServerTrusted(certs, type);
			} 
		} 
 
		@Override 
		public X509Certificate[] getAcceptedIssuers() {
			return _manager.getAcceptedIssuers();
		} 
	} 
}