Home
last modified time | relevance | path

Searched refs:sslNativePointer (Results 1 – 11 of 11) sorted by relevance

/external/conscrypt/src/main/java/org/conscrypt/
DSSLParametersImpl.java424 OpenSSLSessionImpl getSessionToReuse(long sslNativePointer, String hostname, int port) in getSessionToReuse() argument
439 NativeCrypto.SSL_set_session(sslNativePointer, in getSessionToReuse()
448 void setTlsChannelId(long sslNativePointer, OpenSSLKey channelIdPrivateKey) in setTlsChannelId() argument
457 NativeCrypto.SSL_set1_tls_channel_id(sslNativePointer, in setTlsChannelId()
461 NativeCrypto.SSL_enable_tls_channel_id(sslNativePointer); in setTlsChannelId()
466 void setCertificate(long sslNativePointer, String alias) throws CertificateEncodingException, in setCertificate() argument
502 NativeCrypto.SSL_use_certificate(sslNativePointer, x509refs); in setCertificate()
507 NativeCrypto.SSL_use_PrivateKey(sslNativePointer, key.getNativeRef()); in setCertificate()
517 NativeCrypto.SSL_check_private_key(sslNativePointer); in setCertificate()
521 void setSSLParameters(long sslCtxNativePointer, long sslNativePointer, AliasChooser chooser, in setSSLParameters() argument
[all …]
DOpenSSLEngineImpl.java98 private long sslNativePointer; field in OpenSSLEngineImpl
155 sslNativePointer = NativeCrypto.SSL_new(sslCtxNativePointer); in beginHandshake()
157 sslNativePointer, getPeerHost(), getPeerPort()); in beginHandshake()
158 sslParameters.setSSLParameters(sslCtxNativePointer, sslNativePointer, this, this, in beginHandshake()
160 sslParameters.setCertificateValidation(sslNativePointer); in beginHandshake()
161 sslParameters.setTlsChannelId(sslNativePointer, channelIdPrivateKey); in beginHandshake()
163 NativeCrypto.SSL_set_connect_state(sslNativePointer); in beginHandshake()
165 NativeCrypto.SSL_set_accept_state(sslNativePointer); in beginHandshake()
316 if (sslNativePointer == 0) { in isInboundDone()
322 return (NativeCrypto.SSL_get_shutdown(sslNativePointer) in isInboundDone()
[all …]
DOpenSSLSocketImpl.java118 private long sslNativePointer; field in OpenSSLSocketImpl
310 sslNativePointer = 0; in startHandshake()
315 sslNativePointer = NativeCrypto.SSL_new(sslCtxNativePointer); in startHandshake()
320 NativeCrypto.SSL_set_session_creation_enabled(sslNativePointer, in startHandshake()
327 NativeCrypto.SSL_set_reject_peer_renegotiations(sslNativePointer, false); in startHandshake()
330 NativeCrypto.SSL_enable_signed_cert_timestamps(sslNativePointer); in startHandshake()
331 NativeCrypto.SSL_enable_ocsp_stapling(sslNativePointer); in startHandshake()
335 sslNativePointer, getHostnameOrIP(), getPort()); in startHandshake()
336 sslParameters.setSSLParameters(sslCtxNativePointer, sslNativePointer, this, this, in startHandshake()
338 sslParameters.setCertificateValidation(sslNativePointer); in startHandshake()
[all …]
DNativeCrypto.java1048 public static native void SSL_set_accept_state(long sslNativePointer); in SSL_set_accept_state() argument
1050 public static native void SSL_set_connect_state(long sslNativePointer); in SSL_set_connect_state() argument
1052 public static native void SSL_set_verify(long sslNativePointer, int mode); in SSL_set_verify() argument
1054 public static native void SSL_set_session(long sslNativePointer, long sslSessionNativePointer) in SSL_set_session() argument
1058 long sslNativePointer, boolean creationEnabled) throws SSLException; in SSL_set_session_creation_enabled() argument
1060 public static native boolean SSL_session_reused(long sslNativePointer); in SSL_session_reused() argument
1063 long sslNativePointer, boolean renegotiationRejected) throws SSLException; in SSL_set_reject_peer_renegotiations() argument
1065 public static native void SSL_set_tlsext_host_name(long sslNativePointer, String hostname) in SSL_set_tlsext_host_name() argument
1067 public static native String SSL_get_servername(long sslNativePointer); in SSL_get_servername() argument
1107 public static native long SSL_do_handshake(long sslNativePointer, in SSL_do_handshake() argument
[all …]
/external/conscrypt/src/test/java/org/conscrypt/
DNativeCryptoTest.java710 private final long sslNativePointer; field in NativeCryptoTest.TestSSLHandshakeCallbacks
714 long sslNativePointer, in TestSSLHandshakeCallbacks() argument
717 this.sslNativePointer = sslNativePointer; in TestSSLHandshakeCallbacks()
729 System.out.println("ssl=0x" + Long.toString(sslNativePointer, 16) in verifyCertificateChain()
749 System.out.println("ssl=0x" + Long.toString(sslNativePointer, 16) in clientCertificateRequested()
759 hooks.clientCertificateRequested(sslNativePointer); in clientCertificateRequested()
768 System.out.println("ssl=0x" + Long.toString(sslNativePointer, 16) in onSSLStateChange()
787 System.out.println("ssl=0x" + Long.toString(sslNativePointer, 16) in clientPSKKeyRequested()
818 System.out.println("ssl=0x" + Long.toString(sslNativePointer, 16) in serverPSKKeyRequested()
/external/robolectric/v3/runtime/
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...