org.glite.voms
Class VOMSTrustManager

java.lang.Object
  extended by org.glite.voms.VOMSTrustManager
All Implemented Interfaces:
TrustManager, X509TrustManager

public class VOMSTrustManager
extends Object
implements X509TrustManager


Constructor Summary
VOMSTrustManager(PKIStore castore)
           
VOMSTrustManager(String dir)
           
 
Method Summary
 void checkClientTrusted(X509Certificate[] chain, String authType)
           
 void checkServerTrusted(X509Certificate[] chain, String authType)
           
 X509Certificate[] getAcceptedIssuers()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VOMSTrustManager

public VOMSTrustManager(String dir)
                 throws IOException,
                        CertificateException,
                        CRLException
Throws:
IOException
CertificateException
CRLException

VOMSTrustManager

public VOMSTrustManager(PKIStore castore)
                 throws IOException,
                        CertificateException,
                        CRLException
Throws:
IOException
CertificateException
CRLException
Method Detail

stop

public void stop()

checkClientTrusted

public void checkClientTrusted(X509Certificate[] chain,
                               String authType)
                        throws CertificateException
Specified by:
checkClientTrusted in interface X509TrustManager
Throws:
CertificateException

checkServerTrusted

public void checkServerTrusted(X509Certificate[] chain,
                               String authType)
                        throws CertificateException
Specified by:
checkServerTrusted in interface X509TrustManager
Throws:
CertificateException

getAcceptedIssuers

public X509Certificate[] getAcceptedIssuers()
Specified by:
getAcceptedIssuers in interface X509TrustManager


Copyright © 2012. All Rights Reserved.