ConscryptFileDescriptorSocket(String hostname, int port, SSLParametersImpl sslParameters) throws IOException { super(hostname, port); this.sslParameters = sslParameters; this.ssl = newSsl(sslParameters, this); activeSession = new ActiveSession(ssl, sslParameters.getSessionContext()); }
ConscryptFileDescriptorSocket(String hostname, int port, InetAddress clientAddress, int clientPort, SSLParametersImpl sslParameters) throws IOException { super(hostname, port, clientAddress, clientPort); this.sslParameters = sslParameters; this.ssl = newSsl(sslParameters, this); activeSession = new ActiveSession(ssl, sslParameters.getSessionContext()); }
ConscryptFileDescriptorSocket(InetAddress address, int port, InetAddress clientAddress, int clientPort, SSLParametersImpl sslParameters) throws IOException { super(address, port, clientAddress, clientPort); this.sslParameters = sslParameters; this.ssl = newSsl(sslParameters, this); activeSession = new ActiveSession(ssl, sslParameters.getSessionContext()); }
ConscryptFileDescriptorSocket(SSLParametersImpl sslParameters) throws IOException { this.sslParameters = sslParameters; this.ssl = newSsl(sslParameters, this); activeSession = new ActiveSession(ssl, sslParameters.getSessionContext()); }
ConscryptFileDescriptorSocket(String hostname, int port, InetAddress clientAddress, int clientPort, SSLParametersImpl sslParameters) throws IOException { super(hostname, port, clientAddress, clientPort); this.sslParameters = sslParameters; this.ssl = newSsl(sslParameters, this); activeSession = new ActiveSession(ssl, sslParameters.getSessionContext()); }
ConscryptFileDescriptorSocket(SSLParametersImpl sslParameters) throws IOException { this.sslParameters = sslParameters; this.ssl = newSsl(sslParameters, this); activeSession = new ActiveSession(ssl, sslParameters.getSessionContext()); }
ConscryptFileDescriptorSocket(String hostname, int port, SSLParametersImpl sslParameters) throws IOException { super(hostname, port); this.sslParameters = sslParameters; this.ssl = newSsl(sslParameters, this); activeSession = new ActiveSession(ssl, sslParameters.getSessionContext()); }
ConscryptFileDescriptorSocket(InetAddress address, int port, InetAddress clientAddress, int clientPort, SSLParametersImpl sslParameters) throws IOException { super(address, port, clientAddress, clientPort); this.sslParameters = sslParameters; this.ssl = newSsl(sslParameters, this); activeSession = new ActiveSession(ssl, sslParameters.getSessionContext()); }
ConscryptFileDescriptorSocket(Socket socket, String hostname, int port, boolean autoClose, SSLParametersImpl sslParameters) throws IOException { super(socket, hostname, port, autoClose); this.sslParameters = sslParameters; this.ssl = newSsl(sslParameters, this); activeSession = new ActiveSession(ssl, sslParameters.getSessionContext()); }
ConscryptFileDescriptorSocket(InetAddress address, int port, SSLParametersImpl sslParameters) throws IOException { super(address, port); this.sslParameters = sslParameters; this.ssl = newSsl(sslParameters, this); activeSession = new ActiveSession(ssl, sslParameters.getSessionContext()); }
ConscryptFileDescriptorSocket(Socket socket, String hostname, int port, boolean autoClose, SSLParametersImpl sslParameters) throws IOException { super(socket, hostname, port, autoClose); this.sslParameters = sslParameters; this.ssl = newSsl(sslParameters, this); activeSession = new ActiveSession(ssl, sslParameters.getSessionContext()); }
ConscryptFileDescriptorSocket(InetAddress address, int port, SSLParametersImpl sslParameters) throws IOException { super(address, port); this.sslParameters = sslParameters; this.ssl = newSsl(sslParameters, this); activeSession = new ActiveSession(ssl, sslParameters.getSessionContext()); }
private void transitionTo(int newState) { switch (newState) { case STATE_HANDSHAKE_STARTED: { handshakeFinished = false; activeSession = new ActiveSession(ssl, sslParameters.getSessionContext()); break; } case STATE_CLOSED: { if (!ssl.isClosed() && state >= STATE_HANDSHAKE_STARTED && state < STATE_CLOSED) { closedSession = new SessionSnapshot(activeSession); } break; } default: { break; } } // Update the state this.state = newState; } }
private void transitionTo(int newState) { switch (newState) { case STATE_HANDSHAKE_STARTED: { handshakeFinished = false; activeSession = new ActiveSession(ssl, sslParameters.getSessionContext()); break; } case STATE_CLOSED: { if (!ssl.isClosed() && state >= STATE_HANDSHAKE_STARTED && state < STATE_CLOSED) { closedSession = new SessionSnapshot(activeSession); } break; } default: { break; } } // Update the state this.state = newState; } }