org.globus.myproxy
Class MyTrustManager
java.lang.Object
org.globus.myproxy.MyTrustManager
- All Implemented Interfaces:
- TrustManager, X509TrustManager
public class MyTrustManager
- extends Object
- implements X509TrustManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyTrustManager
public MyTrustManager()
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuers
in interface X509TrustManager
checkClientTrusted
public void checkClientTrusted(X509Certificate[] certs,
String authType)
throws CertificateException
- Specified by:
checkClientTrusted
in interface X509TrustManager
- Throws:
CertificateException
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certs,
String authType)
throws CertificateException
- Specified by:
checkServerTrusted
in interface X509TrustManager
- Throws:
CertificateException