Lines Matching refs:length
41 for (int i = 0; i < isTLS.length; i++) {
53 assertEquals("incorrect out data length ", message.length(),
54 encoded.length);
59 .length(), isTLS[i], true);
63 assertEquals("Incorrect message decoding", message.length(),
64 message_2.length());
68 message_2 = new ClientKeyExchange(in, message.length() - 1,
71 fail("Small length: No expected AlertException");
82 message_2 = new ClientKeyExchange(in, message.length() + 3,
102 for (int i = 0; i < isTLS.length; i++) {
112 assertEquals("incorrect out data length", message.length(),
113 encoded.length);
118 .length(), isTLS[i], false);
120 assertEquals("Incorrect message decoding", message.length(),
121 message_2.length());
127 message_2 = new ClientKeyExchange(in, message.length() - 1,
129 fail("Small length: No expected AlertException");
136 message_2 = new ClientKeyExchange(in, message.length() + 3,
153 message.exchange_keys.length);
154 assertEquals("incorrect ClientKeyExchange", 0, message.length());
160 assertEquals("incorrect ClientKeyExchange", 0, message.length());
161 assertEquals("incorrect out data length", message.length(),
162 encoded.length);
167 .length(), true, false);
170 message_2.exchange_keys.length);
171 assertEquals("Incorrect message decoding", 0, message_2.length());
176 message_2 = new ClientKeyExchange(in, message.length() - 1, true,
178 fail("Small length: No expected IOException");
185 message_2 = new ClientKeyExchange(in, message.length() + 3, true,