|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
boolean |
isTrustedPeer(SSLCertificate certificate)
Deprecated. Decides if the peer certificate is trusted or not. |
| Method Detail |
public boolean isTrustedPeer(SSLCertificate certificate)
SSLException "Untrusted Certificate!"
is thrown and the connection is closed.
To set your own TrustDecider use the method SSLContext.setTrustDecider(iaik.security.ssl.TrustDecider).
If no trust decider is set every certificate is trusted.
certificate - the certificate (list) of the peer or null if the
peer has no certificatetrue if the peer is trusted or false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||