|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SSLTrustManager
A trust manager decides whether the server is trusted or not.
SSLIRCConnection
,
SSLDefaultTrustManager
Method Summary | |
---|---|
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. |
Method Detail |
---|
boolean isTrusted(X509Certificate[] chain)
chain
- The peer certificate chain.
true
if the server is trusted, false
if the server is not trusted.X509Certificate[] getAcceptedIssuers()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |