com.sun.net.ssl.X509TrustManager |
This interface is deprecated.
As of JDK 1.4, this implementation-specific class was
replaced by X509TrustManager
.
Instance of this interface manage which X509 certificates may be used to authenticate the remote side of a secure socket. Decisions may be based on trusted certificate authorities, certificate revocation lists, online status checking or other means.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return an array of certificate authority certificates
which are trusted for authenticating peers.
| |||||||||||
Given the partial or complete certificate chain
provided by the peer, build a certificate path
to a trusted root and return true if it can be
validated and is trusted for client SSL authentication.
| |||||||||||
Given the partial or complete certificate chain
provided by the peer, build a certificate path
to a trusted root and return true if it can be
validated and is trusted for server SSL authentication.
|
Return an array of certificate authority certificates which are trusted for authenticating peers.
Given the partial or complete certificate chain provided by the peer, build a certificate path to a trusted root and return true if it can be validated and is trusted for client SSL authentication.
chain | the peer certificate chain |
---|
Given the partial or complete certificate chain provided by the peer, build a certificate path to a trusted root and return true if it can be validated and is trusted for server SSL authentication.
chain | the peer certificate chain |
---|