public class VOMSTrustManager extends Object implements X509TrustManager
Constructor and Description |
---|
VOMSTrustManager(PKIStore castore) |
VOMSTrustManager(String dir) |
Modifier and Type | Method and Description |
---|---|
void |
checkClientTrusted(X509Certificate[] chain,
String authType) |
void |
checkServerTrusted(X509Certificate[] chain,
String authType) |
X509Certificate[] |
getAcceptedIssuers() |
void |
stop() |
public VOMSTrustManager(String dir) throws IOException, CertificateException, CRLException
public VOMSTrustManager(PKIStore castore) throws IOException, CertificateException, CRLException
public void stop()
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException
checkClientTrusted
in interface X509TrustManager
CertificateException
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException
checkServerTrusted
in interface X509TrustManager
CertificateException
public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface X509TrustManager
Copyright © 2014. All rights reserved.