/external/chromium_org/net/third_party/nss/ssl/ |
sslreveal.c | 2 * Accessor functions for SSLSocket private members. 20 sslSocket * sslsocket = NULL; local 22 sslsocket = ssl_FindSocket(fd); 27 if (sslsocket && sslsocket->sec.peerCert) 28 cert = CERT_DupCertificate(sslsocket->sec.peerCert); 38 sslSocket * sslsocket = NULL; local 41 sslsocket = ssl_FindSocket(fd) 57 sslSocket * sslsocket = NULL; local 79 sslSocket * sslsocket = NULL; local [all...] |
sslimpl.h | 176 typedef struct sslSocketStr sslSocket; 190 typedef SECStatus (*sslHandshakeFunc)(sslSocket *ss); 197 typedef PRInt32 (*sslSendFunc)(sslSocket *ss, const unsigned char *buf, 210 typedef PRInt32 (*ssl3HelloExtensionSenderFunc)(sslSocket *ss, PRBool append, 216 typedef SECStatus (* ssl3HelloExtensionHandlerFunc)(sslSocket *ss, 233 ssl3_RegisterServerHelloExtensionSender(sslSocket *ss, PRUint16 ex_type, 237 ssl3_CallHelloExtensionSenders(sslSocket *ss, PRBool append, PRUint32 maxBytes, 244 ssl3_AppendPaddingExtension(sslSocket *ss, unsigned int extensionLen, 249 int (*connect) (sslSocket *, const PRNetAddr *); 250 PRFileDesc *(*accept) (sslSocket *, PRNetAddr *) [all...] |
ssldef.c | 2 * "Default" SSLSocket methods, used by sockets that do neither SSL nor socks. 20 int ssl_DefConnect(sslSocket *ss, const PRNetAddr *sa) 29 int ssl_DefBind(sslSocket *ss, const PRNetAddr *addr) 38 int ssl_DefListen(sslSocket *ss, int backlog) 47 int ssl_DefShutdown(sslSocket *ss, int how) 56 int ssl_DefRecv(sslSocket *ss, unsigned char *buf, int len, int flags) 79 int ssl_DefSend(sslSocket *ss, const unsigned char *buf, int len, int flags) 118 int ssl_DefRead(sslSocket *ss, unsigned char *buf, int len) 131 int ssl_DefWrite(sslSocket *ss, const unsigned char *buf, int len) 156 int ssl_DefGetpeername(sslSocket *ss, PRNetAddr *name [all...] |
/external/chromium_org/net/third_party/nss/patches/ |
negotiatedextension.patch | 7 sslSocket * sslsocket = NULL; 16 - if (sslsocket->firstHsDone) { 18 - } else if (sslsocket->ssl3.initialized && ssl3_CanFalseStart(sslsocket)) { 23 - if (sslsocket->opt.useSecurity && enoughFirstHsDone) { 24 + if (sslsocket->opt.useSecurity) { 25 if (sslsocket->ssl3.initialized) { /* SSL3 and TLS */
|
cipherorder.patch | 23 @@ -12423,6 +12423,46 @@ ssl3_CipherPrefGet(sslSocket *ss, ssl3CipherSuite which, PRBool *enabled) 28 +ssl3_CipherOrderSet(sslSocket *ss, const ssl3CipherSuite *ciphers, unsigned int len) 69 ssl3_InitSocketPolicy(sslSocket *ss) 74 @@ -1711,6 +1711,8 @@ extern SECStatus ssl3_CipherPrefSet(sslSocket *ss, ssl3CipherSuite which, PRBool 75 extern SECStatus ssl3_CipherPrefGet(sslSocket *ss, ssl3CipherSuite which, PRBool *on); 76 extern SECStatus ssl2_CipherPrefSet(sslSocket *ss, PRInt32 which, PRBool enabled); 77 extern SECStatus ssl2_CipherPrefGet(sslSocket *ss, PRInt32 which, PRBool *enabled); 78 +extern SECStatus ssl3_CipherOrderSet(sslSocket *ss, const ssl3CipherSuite *cipher, 94 + sslSocket *ss = ssl_FindSocket(fd);
|
suitebonly.patch | 6 ssl3_SuiteBOnly(sslSocket *ss) 12 @@ -1091,6 +1092,9 @@ ssl3_SuiteBOnly(sslSocket *ss)
|
cachecerts.patch | 6 static SECStatus ssl3_AuthCertificate(sslSocket *ss); 7 static void ssl3_CleanupPeerCerts(sslSocket *ss); 8 +static void ssl3_CopyPeerCertsFromSID(sslSocket *ss, sslSessionID *sid); 9 static PK11SymKey *ssl3_GenerateRSAPMS(sslSocket *ss, ssl3CipherSpec *spec, 11 static SECStatus ssl3_DeriveMasterSecret(sslSocket *ss, PK11SymKey *pms); 12 @@ -6141,6 +6142,7 @@ ssl3_HandleServerHello(sslSocket *ss, SS 28 @@ -9147,6 +9150,44 @@ ssl3_CleanupPeerCerts(sslSocket *ss) 33 +ssl3_CopyPeerCertsFromSID(sslSocket *ss, sslSessionID *sid) 73 @@ -9432,6 +9473,7 @@ ssl3_AuthCertificate(sslSocket *ss)
|
ciphersuiteversion.patch | 37 @@ -804,7 +807,8 @@ ssl3_config_match_init(sslSocket *ss) 47 @@ -812,7 +816,8 @@ ssl3_config_match_init(sslSocket *ss) 72 count_cipher_suites(sslSocket *ss, int policy, PRBool enabled) 73 @@ -834,7 +842,7 @@ count_cipher_suites(sslSocket *ss, int policy, PRBool enabled) 82 @@ -5294,7 +5302,7 @@ ssl3_SendClientHello(sslSocket *ss, PRBool resending) 91 @@ -6359,15 +6367,19 @@ ssl3_HandleServerHello(sslSocket *ss, SSL3Opaque *b, PRUint32 length) 118 @@ -8008,6 +8020,9 @@ ssl3_HandleClientHello(sslSocket *ss, SSL3Opaque *b, PRUint32 length) 128 @@ -8036,7 +8051,7 @@ ssl3_HandleClientHello(sslSocket *ss, SSL3Opaque *b, PRUint32 length) 137 @@ -8084,9 +8099,8 @@ ssl3_HandleClientHello(sslSocket *ss, SSL3Opaque *b, PRUint32 length) 149 @@ -8619,9 +8633,8 @@ ssl3_HandleV2ClientHello(sslSocket *ss, unsigned char *buffer, int length [all...] |
paddingextension.patch | 5 @@ -4975,6 +4975,7 @@ ssl3_SendClientHello(sslSocket *ss, PRBool resending) 13 @@ -5241,6 +5242,20 @@ ssl3_SendClientHello(sslSocket *ss, PRBool resending) 34 @@ -5360,6 +5375,13 @@ ssl3_SendClientHello(sslSocket *ss, PRBool resending) 52 @@ -2297,3 +2297,56 @@ ssl3_ClientSendSigAlgsXtn(sslSocket * ss, PRBool append, PRUint32 maxBytes) 82 +ssl3_AppendPaddingExtension(sslSocket *ss, unsigned int extensionLen, 114 ssl3_CallHelloExtensionSenders(sslSocket *ss, PRBool append, PRUint32 maxBytes, 121 +ssl3_AppendPaddingExtension(sslSocket *ss, unsigned int extensionLen, 126 int (*connect) (sslSocket *, const PRNetAddr *);
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
SSLSocketTest.java | 34 import javax.net.ssl.SSLSocket; 51 * javax.net.ssl.SSLSocket#SSLSocket() 54 SSLSocket ssl = getSSLSocket(); 60 * javax.net.ssl.SSLSocket#SSLSocket(InetAddress address, int port) 66 SSLSocket ssl = getSSLSocket(InetAddress.getLocalHost(), sport); 87 * javax.net.ssl.SSLSocket#SSLSocket(InetAddress address, int port, 93 SSLSocket ssl = getSSLSocket(InetAddress.getLocalHost(), sport [all...] |
SSLSessionBindingListenerTest.java | 25 import javax.net.ssl.SSLSocket; 63 SSLSocket sock = (SSLSocket) SSLSocketFactory.getDefault() 77 SSLSocket sock = (SSLSocket) SSLSocketFactory.getDefault()
|
HandshakeCompletedEventTest.java | 37 import javax.net.ssl.SSLSocket; 71 * javax.net.ssl.HandshakeCompletedEvent#HandshakeCompletedEvent(SSLSocket sock, SSLSession s) 75 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); 90 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); 101 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); 112 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket() [all...] |
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
SSLSocketTest.java | 27 import javax.net.ssl.SSLSocket; 34 * Tests for <code>SSLSocket</code> class constructors. 40 * Class under test for void SSLSocket() 43 SSLSocket soc = new MySSLSocket(); 51 * Class under test for void SSLSocket(String, int) 55 SSLSocket soc = new MySSLSocket("localhost", ss.getLocalPort()); 61 * Class under test for void SSLSocket(InetAddress, int) 65 SSLSocket soc = new MySSLSocket(InetAddress.getLocalHost(), ss 72 * Class under test for void SSLSocket(String, int, InetAddress, int) 78 SSLSocket soc = new MySSLSocket("localhost", ss1.getLocalPort() [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HttpsEngine.java | 26 import javax.net.ssl.SSLSocket; 36 private SSLSocket sslSocket; 41 this.sslSocket = connection != null ? (SSLSocket) connection.getSocket() : null; 45 this.sslSocket = (SSLSocket) connection.getSocket(); 58 public SSLSocket getSslSocket() { 59 return sslSocket;
|
HttpsURLConnectionImpl.java | 35 import javax.net.ssl.SSLSocket; 53 SSLSocket sslSocket = getSslSocket(); 54 if (sslSocket != null) { 55 return sslSocket.getSession().getCipherSuite(); 66 SSLSocket sslSocket = getSslSocket(); 67 if (sslSocket != null) { 68 return sslSocket.getSession().getLocalCertificates(); 79 SSLSocket sslSocket = getSslSocket() [all...] |
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
TestSSLSocketPair.java | 25 import javax.net.ssl.SSLSocket; 34 public final SSLSocket server; 35 public final SSLSocket client; 38 SSLSocket server, 39 SSLSocket client) { 60 SSLSocket[] sockets = connect(c, null, null); 71 public static SSLSocket[] connect (final TestSSLContext context, 75 final SSLSocket client = (SSLSocket) 77 final SSLSocket server = (SSLSocket) context.serverSocket.accept() [all...] |
TestSSLSessions.java | 20 import javax.net.ssl.SSLSocket; 68 SSLSocket ssl = (SSLSocket) sf.createSocket();
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
SSLSocketTest.java | 53 import javax.net.ssl.SSLSocket; 66 SSLSocket ssl = (SSLSocket) sf.createSocket(); 176 SSLSocket[] pair = TestSSLSocketPair.connect(c, 180 SSLSocket server = pair[0]; 181 SSLSocket client = pair[1]; 213 SSLSocket ssl = (SSLSocket) sf.createSocket(); 221 SSLSocket ssl = (SSLSocket) sf.createSocket() [all...] |
/external/chromium_org/net/socket/ |
ssl_socket.h | 14 // SSLSocket interface defines method that are common between client 16 class NET_EXPORT SSLSocket : public StreamSocket { 18 virtual ~SSLSocket() {}
|
/libcore/crypto/src/main/java/org/conscrypt/ |
SSLSocketImpl.java | 33 import javax.net.ssl.SSLSocket; 36 * SSLSocket implementation. 37 * @see javax.net.ssl.SSLSocket class documentation for more information. 39 public class SSLSocketImpl extends SSLSocket { 85 * @see javax.net.ssl.SSLSocket#SSLSocket() method documentation 102 * @see javax.net.ssl.SSLSocket#SSLSocket(String,int) 123 * @see javax.net.ssl.SSLSocket#SSLSocket(String,int,InetAddress,int [all...] |
/frameworks/base/core/java/android/net/http/ |
CertificateChainValidator.java | 33 import javax.net.ssl.SSLSocket; 71 * @param sslSocket The secure connection socket 76 HttpsConnection connection, SSLSocket sslSocket, String domain) 79 SSLSession sslSession = sslSocket.getSession(); 81 closeSocketThrowException(sslSocket, "failed to perform SSL handshake"); 86 sslSocket.getSession().getPeerCertificates(); 90 sslSocket, "failed to retrieve peer certificates"); 197 SSLSocket socket, String errorMessage, String defaultErrorMessage) 203 private void closeSocketThrowException(SSLSocket socket [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
SSLSocketImplTest.java | 28 import javax.net.ssl.SSLSocket; 54 private SSLSocket createSSLSocket() throws Exception { 58 private SSLSocket createSSLSocket(int port) throws Exception { 68 SSLSocket socket = null; 79 final SSLSocket s = socket; 128 SSLSocket socket = null; 137 final SSLSocket s = socket; 186 SSLSocket socket = null; 198 final SSLSocket s = socket; 247 SSLSocket socket = null [all...] |
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
RecordedRequest.java | 23 import javax.net.ssl.SSLSocket; 48 if (socket instanceof SSLSocket) { 49 SSLSocket sslSocket = (SSLSocket) socket; 50 sslProtocol = sslSocket.getSession().getProtocol();
|
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/ |
HandshakeCompletedEventTest.java | 24 import javax.net.ssl.SSLSocket; 41 SSLSocket soc = (SSLSocket )cont.getSocketFactory().createSocket();
|
SSLSessionBindingEventTest.java | 24 import javax.net.ssl.SSLSocket; 41 SSLSocket soc = (SSLSocket )cont.getSocketFactory().createSocket();
|