HomeSort by relevance Sort by last modified time
    Searched refs:ClientHello (Results 1 - 7 of 7) sorted by null

  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
ClientHelloTest.java 27 * Tests for <code>ClientHello</code> constructor and methods
34 * Test for ClientHello(SecureRandom, byte[], byte[], CipherSuite[]),
35 * ClientHello(HandshakeIODataStream, int), getType(), getRandom(), and
43 ClientHello message = new ClientHello(new SecureRandom(), version,
56 ClientHello message_2 = new ClientHello(in, message.length());
65 message_2 = new ClientHello(in, message.length()-1);
72 message_2 = new ClientHello(in, message.length()+ 1);
79 new ClientHello(in, message.length()+ 3); // extra bytes must b
    [all...]
ServerHandshakeImplTest.java 71 ClientHello message = new ClientHello(new SecureRandom(), version,
HandshakeProtocolTest.java 110 hs_protocol.clientHello = new ClientHello(
124 hs_protocol.send(hs_protocol.clientHello);
154 hs_protocol.clientHello = new ClientHello(
168 hs_protocol.send(hs_protocol.clientHello);
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
ClientHello.java 32 public class ClientHello extends Message {
66 public ClientHello(SecureRandom sr, byte[] version, byte[] ses_id,
88 public ClientHello(HandshakeIODataStream in, int length) throws IOException {
99 "DECODE ERROR: incorrect ClientHello");
114 fatalAlert(AlertProtocol.DECODE_ERROR, "DECODE ERROR: incorrect ClientHello");
128 public ClientHello(HandshakeIODataStream in) throws IOException {
ServerHandshakeImpl.java 80 if (clientHello != null && this.status != FINISHED) {
112 if (clientHello != null && this.status != FINISHED) {
120 clientHello = new ClientHello(io_stream, length);
214 || preMasterSecret[0] != clientHello.client_version[0]
215 || preMasterSecret[1] != clientHello.client_version[1]) {
298 clientHello = new ClientHello(io_stream);
324 // check that clientHello contains CompressionMethod.null
326 for (int i = 0; i < clientHello.compression_methods.length; i++)
    [all...]
HandshakeProtocol.java 101 protected ClientHello clientHello;
451 System.arraycopy(clientHello.getRandom(), 0, seed, 0, 32);
486 clientHello = null;
ClientHandshakeImpl.java 77 if (clientHello != null && this.status != FINISHED) {
135 clientHello = new ClientHello(parameters.getSecureRandom(),
137 session.clientRandom = clientHello.random;
138 send(clientHello);
170 if (clientHello != null
187 if (clientHello == null || serverHello != null) {
229 } else if (!Arrays.equals(serverHello.session_id, clientHello.session_id)) {
432 System.arraycopy(clientHello.client_version, 0, preMasterSecret, 0, 2);

Completed in 327 milliseconds