| java.lang.Object | |
| ↳ | android.net.http.X509TrustManagerExtensions |
X509TrustManager wrapper exposing Android-added features.
The checkServerTrusted method allows callers to perform additional verification of certificate chains after they have been successfully verified by the platform.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new X509TrustManagerExtensions wrapper.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Verifies the given certificate chain.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Constructs a new X509TrustManagerExtensions wrapper.
| tm | A X509TrustManager as returned by TrustManagerFactory.getInstance(); |
|---|
| IllegalArgumentException | If tm is an unsupported TrustManager type. |
|---|
Verifies the given certificate chain.
See checkServerTrusted(X509Certificate[], String) for a
description of the chain and authType parameters. The final parameter, host, should be the
hostname of the server.
| CertificateException | if the chain does not verify correctly. |
|---|