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