Package org.globus.myproxy
Class MyTrustManager
java.lang.Object
org.globus.myproxy.MyTrustManager
- All Implemented Interfaces:
TrustManager
,X509TrustManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkClientTrusted
(X509Certificate[] certs, String authType) void
checkServerTrusted
(X509Certificate[] certs, String authType)
-
Constructor Details
-
MyTrustManager
public MyTrustManager()
-
-
Method Details
-
getAcceptedIssuers
- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] certs, String authType) throws CertificateException - Specified by:
checkClientTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certs, String authType) throws CertificateException - Specified by:
checkServerTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-