javax.net.ssl.X509TrustManager |
The trust manager for X509 certificates to be used to perform authentication for secure sockets.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Checks whether the specified certificate chain (partial or complete) can
be validated and is trusted for client authentication for the specified
authentication type.
|
||||||||||
|
Checks whether the specified certificate chain (partial or complete) can
be validated and is trusted for server authentication for the specified
key exchange algorithm.
|
||||||||||
|
Returns the list of certificate issuer authorities which are trusted for
authentication of peers.
|
Checks whether the specified certificate chain (partial or complete) can be validated and is trusted for client authentication for the specified authentication type.
chain | the certificate chain to validate. |
---|---|
authType | the authentication type used. |
CertificateException | if the certificate chain can't be validated or isn't trusted. |
---|---|
IllegalArgumentException |
if the specified certificate chain is empty or
null
,
or if the specified authentication type is
null
or an
empty string.
|
Checks whether the specified certificate chain (partial or complete) can be validated and is trusted for server authentication for the specified key exchange algorithm.
chain | the certificate chain to validate. |
---|---|
authType | the key exchange algorithm name. |
CertificateException | if the certificate chain can't be validated or isn't trusted. |
---|---|
IllegalArgumentException |
if the specified certificate chain is empty or
null
,
or if the specified authentication type is
null
or an
empty string.
|
Returns the list of certificate issuer authorities which are trusted for authentication of peers.