public class SSLJiveTrustManager extends Object implements X509TrustManager
A skeleton placeholder for developers wishing to implement their own custom trust manager. In future revisions we may expand the skeleton code if customers request assistance in creating custom trust managers.
You only need a trust manager if your server will require clients to authenticated with the server (typically only the server authenticates with the client).
Constructor and Description |
---|
SSLJiveTrustManager() |
Modifier and Type | Method and Description |
---|---|
void |
checkClientTrusted(X509Certificate[] chain,
String authType) |
void |
checkServerTrusted(X509Certificate[] chain,
String authType) |
X509Certificate[] |
getAcceptedIssuers() |
boolean |
isClientTrusted(X509Certificate[] x509Certificates) |
boolean |
isServerTrusted(X509Certificate[] x509Certificates) |
public void checkClientTrusted(X509Certificate[] chain, String authType)
checkClientTrusted
in interface X509TrustManager
public void checkServerTrusted(X509Certificate[] chain, String authType)
checkServerTrusted
in interface X509TrustManager
public boolean isClientTrusted(X509Certificate[] x509Certificates)
public boolean isServerTrusted(X509Certificate[] x509Certificates)
public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface X509TrustManager
Copyright © 2003-2008 Jive Software.