Code example for X509TrustManager

Methods: getAcceptedIssuers

0
 
	/* 
	 * Merely pass this through. 
	 */ 
	public X509Certificate[] getAcceptedIssuers() {
		return defaultTrustManager.getAcceptedIssuers();
	} 
	 
	static class NewCertificateException extends CertificateException {
		private String hashedCert;
		public NewCertificateException(String hashedCert) {
			this.hashedCert = hashedCert;
		} 
		 
		public String hashedCert() {
			return this.hashedCert;
		} 
	} 
}