org.schwering.irc.lib.ssl
public interface SSLTrustManager
SSLIRCConnection
,
SSLDefaultTrustManager
Modifier and Type | Method and Description |
---|---|
X509Certificate[] |
getAcceptedIssuers()
Return an array of certificate authority certificates which are trusted
for authenticating peers.
|
boolean |
isTrusted(X509Certificate[] chain)
Checks whether the server is trusted or not.
|
boolean isTrusted(X509Certificate[] chain)
chain
- The peer certificate chain.true
if the server is trusted, false
if the server is not trusted.X509Certificate[] getAcceptedIssuers()