summaryrefslogtreecommitdiffstats
path: root/core/java/android/net
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2014-10-31 15:48:44 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-10-31 15:48:44 +0000
commitdcf5af38bfd306af77613aa051393bf7d8e8fb44 (patch)
tree708c4f5c10479e29e5ff94b636dffef99095a754 /core/java/android/net
parent84ca5ddb0844146408e241e7022c78477d9c4a6f (diff)
parent8129b8b471e782708be945e40fa82d2c20ebceef (diff)
downloadframeworks_base-dcf5af38bfd306af77613aa051393bf7d8e8fb44.zip
frameworks_base-dcf5af38bfd306af77613aa051393bf7d8e8fb44.tar.gz
frameworks_base-dcf5af38bfd306af77613aa051393bf7d8e8fb44.tar.bz2
am 8129b8b4: am dd8accfe: Merge "Mention ECDHE_PSK bug in Javadoc of PskKeyManager." into lmp-docs
* commit '8129b8b471e782708be945e40fa82d2c20ebceef': Mention ECDHE_PSK bug in Javadoc of PskKeyManager.
Diffstat (limited to 'core/java/android/net')
-rw-r--r--core/java/android/net/PskKeyManager.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/net/PskKeyManager.java b/core/java/android/net/PskKeyManager.java
index d162282..f82e635 100644
--- a/core/java/android/net/PskKeyManager.java
+++ b/core/java/android/net/PskKeyManager.java
@@ -81,6 +81,13 @@ import javax.net.ssl.SSLEngine;
* Subclasses should normally provide their own implementation of {@code getKey} because the default
* implementation returns no key, which aborts the handshake.
*
+ * <h3>Known issues</h3>
+ * The implementation of {@code ECDHE_PSK} cipher suites in API Level 21 contains a bug which breaks
+ * compatibility with other implementations. {@code ECDHE_PSK} cipher suites are enabled by default
+ * on platforms with API Level 21 when an {@code SSLContext} is initialized with a
+ * {@code PskKeyManager}. A workaround is to disable {@code ECDHE_PSK} cipher suites on platforms
+ * with API Level 21.
+ *
* <h3>Example</h3>
* The following example illustrates how to create an {@code SSLContext} which enables the use of
* TLS-PSK in {@code SSLSocket}, {@code SSLServerSocket} and {@code SSLEngine} instances obtained