summaryrefslogtreecommitdiff
path: root/core/java/android/net/PSKKeyManager.java
Commit message (Collapse)AuthorAgeFilesLines
* Align PSKKeyManager with framework API style.Alex Klyubin2014-07-221-183/+0
| | | | | | | | | | | This CL adjusts android.net.PSKKeyManager as follows: * Renamed to PskKeyManager to follow naming conventions. * Changed from interface to abstract class with default implementations for all methods. Bug: 16403305 Bug: 15073623 Change-Id: Iefce26b394d4a753412315dad554b5342f3f0b44
* No need to explicitly enable TLS-PSK cipher suites.Alex Klyubin2014-07-151-5/+2
| | | | | | | | | | This CL adjusts the example code in android.net.PSKKeyManager Javadoc to no longer explicitly enable TLS-PSK cipher suites. These are now enabled automatically if SSLContext is initialized with a PSKKeyManager. Bug: 15073623 Change-Id: I7f7f713478171491347cdfb9651fd9a095dc60ee
* Add PSKKeyManager to enable the use of TLS-PSK.Alex Klyubin2014-06-101-0/+186
TLS-PSK is supported by the underlying TLS/SSL stack (based on Conscrypt). This CL simply exposes this support in the Android framework. TLS-PSK is a set of TLS/SSL cipher suites which rely on a symmetric pre-shared key (PSK) to secure the TLS/SSL connection and mutually authenticate its peers. These cipher suites may be a more natural fit compared to conventional public key based cipher suites in some scenarios where communication between peers is bootstrapped via a separate step (for example, a pairing step) and requires both peers to authenticate each other. In such scenarios a symmetric key (PSK) can be exchanged during the bootstrapping step, removing the need to generate and exchange public key pairs and X.509 certificates. Bug: 15073623 Change-Id: Idf2a773db3021de3d2ad144c5cc63d2415eb8e91