Searched refs:sslNativePointer (Results 1 - 3 of 3) sorted by relevance

/libcore/crypto/src/main/java/org/conscrypt/
H A DOpenSSLSocketImpl.java67 private long sslNativePointer; field in class:OpenSSLSocketImpl
274 this.sslNativePointer = 0;
277 sslNativePointer = NativeCrypto.SSL_new(sslCtxNativePointer);
312 NativeCrypto.setEnabledProtocols(sslNativePointer, enabledProtocols);
313 NativeCrypto.setEnabledCipherSuites(sslNativePointer, enabledCipherSuites);
315 NativeCrypto.SSL_clear_options(sslNativePointer, NativeCrypto.SSL_OP_NO_TICKET);
318 NativeCrypto.SSL_set_tlsext_host_name(sslNativePointer, hostname);
323 NativeCrypto.SSL_set_session_creation_enabled(sslNativePointer,
335 NativeCrypto.SSL_set_session(sslNativePointer,
351 NativeCrypto.SSL_set_verify(sslNativePointer,
[all...]
H A DNativeCrypto.java922 public static native void SSL_set_verify(long sslNativePointer, int mode); argument
924 public static native void SSL_set_session(long sslNativePointer, long sslSessionNativePointer) argument
928 long sslNativePointer, boolean creationEnabled) throws SSLException;
930 public static native void SSL_set_tlsext_host_name(long sslNativePointer, String hostname) argument
932 public static native String SSL_get_servername(long sslNativePointer); argument
972 public static native int SSL_do_handshake(long sslNativePointer, argument
981 public static native byte[] SSL_get_npn_negotiated_protocol(long sslNativePointer); argument
987 public static native void SSL_renegotiate(long sslNativePointer) throws SSLException; argument
992 public static native byte[][] SSL_get_certificate(long sslNativePointer); argument
997 public static native byte[][] SSL_get_peer_cert_chain(long sslNativePointer); argument
927 SSL_set_session_creation_enabled( long sslNativePointer, boolean creationEnabled) argument
1003 SSL_read(long sslNativePointer, FileDescriptor fd, SSLHandshakeCallbacks shc, byte[] b, int off, int len, int readTimeoutMillis) argument
1012 SSL_write(long sslNativePointer, FileDescriptor fd, SSLHandshakeCallbacks shc, byte[] b, int off, int len, int writeTimeoutMillis) argument
1018 SSL_interrupt(long sslNativePointer) argument
1019 SSL_shutdown(long sslNativePointer, FileDescriptor fd, SSLHandshakeCallbacks shc) argument
1023 SSL_free(long sslNativePointer) argument
[all...]
/libcore/crypto/src/test/java/org/conscrypt/
H A DNativeCryptoTest.java649 private final long sslNativePointer; field in class:NativeCryptoTest.TestSSLHandshakeCallbacks
653 long sslNativePointer,
656 this.sslNativePointer = sslNativePointer;
668 System.out.println("ssl=0x" + Long.toString(sslNativePointer, 16)
685 System.out.println("ssl=0x" + Long.toString(sslNativePointer, 16)
695 hooks.clientCertificateRequested(sslNativePointer);
702 System.out.println("ssl=0x" + Long.toString(sslNativePointer, 16)
652 TestSSLHandshakeCallbacks(Socket socket, long sslNativePointer, Hooks hooks) argument

Completed in 122 milliseconds