/external/conscrypt/src/test/java/org/conscrypt/ |
DuckTypedPSKKeyManagerTest.java | 101 String identityHint = "hint"; 104 mockInvocationHandler.returnValue = identityHint; 105 assertSame(identityHint, pskKeyManager.chooseServerKeyIdentityHint(mSSLSocket)); 113 mockInvocationHandler.returnValue = identityHint; 114 assertSame(identityHint, pskKeyManager.chooseServerKeyIdentityHint(mSSLEngine)); 123 assertSame(identity, pskKeyManager.chooseClientKeyIdentity(identityHint, mSSLSocket)); 128 assertSame(identityHint, mockInvocationHandler.lastInvokedMethodArgs[0]); 132 assertSame(identity, pskKeyManager.chooseClientKeyIdentity(identityHint, mSSLEngine)); 137 assertSame(identityHint, mockInvocationHandler.lastInvokedMethodArgs[0]); 142 assertSame(key, pskKeyManager.getKey(identityHint, identity, mSSLSocket)) [all...] |
NativeCryptoTest.java | 785 public int clientPSKKeyRequested(String identityHint, byte[] identity, byte[] key) { 789 + " identityHint=" + identityHint 794 clientPSKKeyRequestedIdentityHint = identityHint; 816 public int serverPSKKeyRequested(String identityHint, String identity, byte[] key) { 820 + " identityHint=" + identityHint 825 serverPSKKeyRequestedIdentityHint = identityHint; [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
DuckTypedPSKKeyManager.java | 93 public String chooseClientKeyIdentity(String identityHint, Socket socket) { 97 .invoke(mDelegate, identityHint, socket); 104 public String chooseClientKeyIdentity(String identityHint, SSLEngine engine) { 108 .invoke(mDelegate, identityHint, engine); 115 public SecretKey getKey(String identityHint, String identity, Socket socket) { 119 .invoke(mDelegate, identityHint, identity, socket); 126 public SecretKey getKey(String identityHint, String identity, SSLEngine engine) { 130 .invoke(mDelegate, identityHint, identity, engine);
|
PSKKeyManager.java | 130 * @param identityHint identity hint provided by the server or {@code null} if none provided. 135 String chooseClientKeyIdentity(String identityHint, Socket socket); 141 * @param identityHint identity hint provided by the server or {@code null} if none provided. 146 String chooseClientKeyIdentity(String identityHint, SSLEngine engine); 151 * @param identityHint identity hint provided by the server to help select the key or 158 SecretKey getKey(String identityHint, String identity, Socket socket); 163 * @param identityHint identity hint provided by the server to help select the key or 170 SecretKey getKey(String identityHint, String identity, SSLEngine engine);
|
OpenSSLEngineImpl.java | 614 public int clientPSKKeyRequested(String identityHint, byte[] identity, byte[] key) { 615 return sslParameters.clientPSKKeyRequested(identityHint, identity, key, this); 619 public int serverPSKKeyRequested(String identityHint, String identity, byte[] key) { 620 return sslParameters.serverPSKKeyRequested(identityHint, identity, key, this); 758 public String chooseClientPSKIdentity(PSKKeyManager keyManager, String identityHint) { 759 return keyManager.chooseClientKeyIdentity(identityHint, this); 763 public SecretKey getPSKKey(PSKKeyManager keyManager, String identityHint, String identity) { 764 return keyManager.getKey(identityHint, identity, this);
|
SSLParametersImpl.java | 584 String identityHint = pskCallbacks.chooseServerPSKIdentityHint(pskKeyManager); 585 NativeCrypto.SSL_use_psk_identity_hint(sslNativePointer, identityHint); 712 String identityHint, byte[] identityBytesOut, byte[] key, PSKCallbacks pskCallbacks) { 718 String identity = pskCallbacks.chooseClientPSKIdentity(pskKeyManager, identityHint); 742 SecretKey secretKey = pskCallbacks.getPSKKey(pskKeyManager, identityHint, identity); 758 String identityHint, String identity, byte[] key, PSKCallbacks pskCallbacks) { 763 SecretKey secretKey = pskCallbacks.getPSKKey(pskKeyManager, identityHint, identity); 834 String chooseClientPSKIdentity(PSKKeyManager keyManager, String identityHint); 835 SecretKey getPSKKey(PSKKeyManager keyManager, String identityHint, String identity); [all...] |
OpenSSLSocketImpl.java | 494 public int clientPSKKeyRequested(String identityHint, byte[] identity, byte[] key) { 495 return sslParameters.clientPSKKeyRequested(identityHint, identity, key, this); 500 public int serverPSKKeyRequested(String identityHint, String identity, byte[] key) { 501 return sslParameters.serverPSKKeyRequested(identityHint, identity, key, this); [all...] |
NativeCrypto.java | [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
PSKKeyManagerProxy.java | 47 protected SecretKey getKey(String identityHint, String identity, Socket socket) { 52 protected SecretKey getKey(String identityHint, String identity, SSLEngine engine) { 67 protected String chooseClientKeyIdentity(String identityHint, Socket socket) { 72 protected String chooseClientKeyIdentity(String identityHint, SSLEngine engine) {
|
SSLEngineTest.java | 126 protected SecretKey getKey(String identityHint, String identity, SSLEngine engine) { [all...] |
SSLSocketTest.java | 132 protected SecretKey getKey(String identityHint, String identity, Socket socket) { [all...] |
/frameworks/base/core/java/android/net/ |
PskKeyManager.java | 162 * @param identityHint identity hint provided by the server or {@code null} if none provided. 168 public String chooseClientKeyIdentity(String identityHint, Socket socket) { 179 * @param identityHint identity hint provided by the server or {@code null} if none provided. 185 public String chooseClientKeyIdentity(String identityHint, SSLEngine engine) { 195 * @param identityHint identity hint provided by the server to help select the key or 203 public SecretKey getKey(String identityHint, String identity, Socket socket) { 213 * @param identityHint identity hint provided by the server to help select the key or 221 public SecretKey getKey(String identityHint, String identity, SSLEngine engine) {
|
/external/boringssl/src/ssl/test/runner/ |
key_agreement.go | 813 identityHint string 886 ka.identityHint = string(skx.key[2 : 2+identityLen]) 898 if ka.identityHint != config.PreSharedKeyIdentity {
|
/external/conscrypt/src/main/native/ |
org_conscrypt_NativeCrypto.cpp | [all...] |
/prebuilts/sdk/tools/lib/ |
signapk.jar | |