Home
last modified time | relevance | path

Searched refs:alpnProtocols (Results 1 – 14 of 14) sorted by relevance

/external/okhttp/android/src/test/java/com/squareup/okhttp/internal/
DPlatformTest.java67 assertArrayEquals(Platform.concatLengthPrefixed(protocols), openSslSocket.alpnProtocols); in enableTlsExtensionOptionalMethods()
82 openSslSocket.alpnProtocols = selectedProtocol.getBytes(StandardCharsets.UTF_8); in getSelectedProtocol()
127 private byte[] alpnProtocols; field in PlatformTest.FullOpenSSLSocketImpl
137 public void setAlpnProtocols(byte[] alpnProtocols) { in setAlpnProtocols() argument
138 this.alpnProtocols = alpnProtocols; in setAlpnProtocols()
142 return alpnProtocols; in getAlpnSelectedProtocol()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DConscryptSocketTest.java254 String[] alpnProtocols; field in ConscryptSocketTest.Hooks
300 if (alpnProtocols != null) { in createSocket()
301 Conscrypt.setApplicationProtocols(socket, alpnProtocols); in createSocket()
329 if (alpnProtocols != null) { in createSocket()
330 Conscrypt.setApplicationProtocols(socket, alpnProtocols); in createSocket()
438 c.clientHooks.alpnProtocols = clientAlpnProtocols;
439 c.serverHooks.alpnProtocols = serverAlpnProtocols;
455 c.clientHooks.alpnProtocols = clientAlpnProtocols;
456 c.serverHooks.alpnProtocols = serverAlpnProtocols;
470 c.clientHooks.alpnProtocols = clientAlpnProtocols;
[all …]
DNativeCryptoTest.java979 final int timeout, final boolean client, final Hooks hooks, final byte[] alpnProtocols, in handshake() argument
1015 if (alpnProtocols != null) { in handshake()
1016 … NativeCrypto.setApplicationProtocols(s, null, client, alpnProtocols); in handshake()
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DConscryptSocketTest.java260 String[] alpnProtocols; field in ConscryptSocketTest.Hooks
306 if (alpnProtocols != null) { in createSocket()
307 Conscrypt.setApplicationProtocols(socket, alpnProtocols); in createSocket()
335 if (alpnProtocols != null) { in createSocket()
336 Conscrypt.setApplicationProtocols(socket, alpnProtocols); in createSocket()
444 c.clientHooks.alpnProtocols = clientAlpnProtocols;
445 c.serverHooks.alpnProtocols = serverAlpnProtocols;
461 c.clientHooks.alpnProtocols = clientAlpnProtocols;
462 c.serverHooks.alpnProtocols = serverAlpnProtocols;
476 c.clientHooks.alpnProtocols = clientAlpnProtocols;
[all …]
DNativeCryptoTest.java987 final int timeout, final boolean client, final Hooks hooks, final byte[] alpnProtocols, in handshake() argument
1023 if (alpnProtocols != null) { in handshake()
1024 … NativeCrypto.setApplicationProtocols(s, null, client, alpnProtocols); in handshake()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLSocketImpl.java134 public final void setAlpnProtocols(String[] alpnProtocols) { in setAlpnProtocols() argument
135 setApplicationProtocols(alpnProtocols == null ? EmptyArray.STRING : alpnProtocols); in setAlpnProtocols()
DAbstractConscryptSocket.java695 abstract void setAlpnProtocols(String[] alpnProtocols); in setAlpnProtocols() argument
706 abstract void setAlpnProtocols(byte[] alpnProtocols); in setAlpnProtocols() argument
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLSocketImpl.java157 public final void setAlpnProtocols(String[] alpnProtocols) { in setAlpnProtocols() argument
158 setApplicationProtocols(alpnProtocols == null ? EmptyArray.STRING : alpnProtocols); in setAlpnProtocols()
DAbstractConscryptSocket.java710 abstract void setAlpnProtocols(String[] alpnProtocols); in setAlpnProtocols() argument
722 abstract void setAlpnProtocols(byte[] alpnProtocols); in setAlpnProtocols() argument
/external/conscrypt/android/src/main/java/org/conscrypt/
DPreKitKatPlatformOpenSSLSocketImplAdapter.java451 public void setAlpnProtocols(byte[] alpnProtocols) { in setAlpnProtocols() argument
452 delegate.setAlpnProtocols(alpnProtocols); in setAlpnProtocols()
DKitKatPlatformOpenSSLSocketImplAdapter.java451 public void setAlpnProtocols(byte[] alpnProtocols) { in setAlpnProtocols() argument
452 delegate.setAlpnProtocols(alpnProtocols); in setAlpnProtocols()
/external/boringssl/src/ssl/test/runner/
Dhandshake_messages.go282 alpnProtocols []string member
337 eqStrings(m.alpnProtocols, m1.alpnProtocols) &&
527 if len(m.alpnProtocols) > 0 {
533 for _, s := range m.alpnProtocols {
723 m.alpnProtocols = nil
888 m.alpnProtocols = append(m.alpnProtocols, string(protocol))
Dhandshake_server.go1350 if len(hs.clientHello.alpnProtocols) > 0 {
1361 …} else if selectedProto, fallback := mutualProtocol(hs.clientHello.alpnProtocols, c.config.NextPro…
1373 if len(hs.clientHello.alpnProtocols) == 0 || c.config.Bugs.NegotiateALPNAndNPN {
Dhandshake_client.go117 alpnProtocols: c.config.NextProtos,
1548 clientDidALPN := len(hs.hello.alpnProtocols) > 0