Merge "Docs: Added a link to Updating Your Security Provider to Protect Against SSL Exploits" into oc-dev
This commit is contained in:
@@ -62,7 +62,12 @@ import javax.net.ssl.X509TrustManager;
|
|||||||
* This implementation does check the server's certificate hostname, but only
|
* This implementation does check the server's certificate hostname, but only
|
||||||
* for createSocket variants that specify a hostname. When using methods that
|
* for createSocket variants that specify a hostname. When using methods that
|
||||||
* use {@link InetAddress} or which return an unconnected socket, you MUST
|
* use {@link InetAddress} or which return an unconnected socket, you MUST
|
||||||
* verify the server's identity yourself to ensure a secure connection.</p>
|
* verify the server's identity yourself to ensure a secure connection.
|
||||||
|
*
|
||||||
|
* Refer to
|
||||||
|
* <a href="https://developer.android.com/training/articles/security-gms-provider.html">
|
||||||
|
* Updating Your Security Provider to Protect Against SSL Exploits</a>
|
||||||
|
* for further information.</p>
|
||||||
*
|
*
|
||||||
* <p>One way to verify the server's identity is to use
|
* <p>One way to verify the server's identity is to use
|
||||||
* {@link HttpsURLConnection#getDefaultHostnameVerifier()} to get a
|
* {@link HttpsURLConnection#getDefaultHostnameVerifier()} to get a
|
||||||
|
|||||||
Reference in New Issue
Block a user