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 79 if (clientHello != null && this.status != FINISHED) {
111 if (clientHello != null && this.status != FINISHED) {
119 clientHello = new ClientHello(io_stream, length);
213 || preMasterSecret[0] != clientHello.client_version[0]
214 || preMasterSecret[1] != clientHello.client_version[1]) {
297 clientHello = new ClientHello(io_stream);
323 // check that clientHello contains CompressionMethod.null
325 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 76 if (clientHello != null && this.status != FINISHED) {
134 clientHello = new ClientHello(parameters.getSecureRandom(),
136 session.clientRandom = clientHello.random;
137 send(clientHello);
169 if (clientHello != null
186 if (clientHello == null || serverHello != null) {
228 } else if (!Arrays.equals(serverHello.session_id, clientHello.session_id)) {
431 System.arraycopy(clientHello.client_version, 0, preMasterSecret, 0, 2);

Completed in 185 milliseconds