|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TrustDecider
Method Summary | |
---|---|
boolean |
isTrustedPeer(SSLCertificate certificate)
Deprecated. Decides if the peer certificate is trusted or not. |
Method Detail |
---|
boolean isTrustedPeer(SSLCertificate certificate)
SSLException
"Untrusted Certificate!"
is thrown and the connection is closed.
To set your own TrustDecider use the method setTrustDecieder
of class
SSLContext
.
If no trust decider is set every certificate is trusted.
certificate
- the certificate (list) of the peer or null
if the
peer has no certificate
true
if the peer is trusted or false otherwise
|
This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note). | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |