|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A trust manager decides whether the server is trusted or not.
SSLIRCConnection
,
SSLDefaultTrustManager
Method Summary | |
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. |
Method Detail |
public 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.public java.security.cert.X509Certificate[] getAcceptedIssuers()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |