Searched refs:npnProtocols (Results 1 - 5 of 5) sorted by relevance
/libcore/crypto/src/main/java/org/conscrypt/ |
H A D | OpenSSLSocketImpl.java | 74 private byte[] npnProtocols; field in class:OpenSSLSocketImpl 280 if (npnProtocols != null) { 406 socket.getFileDescriptor$(), this, getSoTimeout(), client, npnProtocols, 1108 * @param npnProtocols a non-empty array of protocol names. From 1113 public void setNpnProtocols(byte[] npnProtocols) { argument 1114 if (npnProtocols != null && npnProtocols.length == 0) { 1115 throw new IllegalArgumentException("npnProtocols.length == 0"); 1117 this.npnProtocols = npnProtocols; [all...] |
H A D | NativeCrypto.java | 977 byte[] npnProtocols, 972 SSL_do_handshake(long sslNativePointer, FileDescriptor fd, SSLHandshakeCallbacks shc, int timeoutMillis, boolean client_mode, byte[] npnProtocols, byte[] alpnProtocols) argument
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
H A D | SSLSocketTest.java | 1249 byte[] npnProtocols = new byte[] { 1266 setNpnProtocols.invoke(client, npnProtocols); 1271 setNpnProtocols.invoke(server, npnProtocols);
|
/libcore/crypto/src/main/native/ |
H A D | org_conscrypt_NativeCrypto.cpp | 5653 * @param npnProtocols NPN protocols so that they may be advertised (by the 5660 bool setCallbackState(JNIEnv* e, jobject shc, jobject fd, jbyteArray npnProtocols, 5669 if (npnProtocols != NULL) { 5670 npnProtocolsData = e->GetByteArrayElements(npnProtocols, NULL); 5675 npnProtocolsArray = npnProtocols; 5676 npnProtocolsLength = e->GetArrayLength(npnProtocols); 6862 unsigned char* npnProtocols = reinterpret_cast<unsigned char*>(appData->npnProtocolsData); local 6863 if (npnProtocols != NULL) { 6864 *out = npnProtocols; 7027 jobject shc, jint timeout_millis, jboolean client_mode, jbyteArray npnProtocols, 7026 NativeCrypto_SSL_do_handshake(JNIEnv* env, jclass, jlong ssl_address, jobject fdObject, jobject shc, jint timeout_millis, jboolean client_mode, jbyteArray npnProtocols, jbyteArray alpnProtocols) argument [all...] |
/libcore/crypto/src/test/java/org/conscrypt/ |
H A D | NativeCryptoTest.java | 761 final int timeout, final boolean client, final Hooks hooks, final byte[] npnProtocols, 791 npnProtocols, alpnProtocols); 760 handshake(final ServerSocket listener, final int timeout, final boolean client, final Hooks hooks, final byte[] npnProtocols, final byte[] alpnProtocols) argument
|
Completed in 131 milliseconds