Lines Matching refs:length
50 * @param length
53 public CertificateMessage(HandshakeIODataStream in, int length) throws IOException {
56 if (length != 3) { // no more bytes after total_length
62 this.length = 3;
87 this.length = 3 + 3 * certs.length + enc_size;
88 if (this.length != length) {
102 length = 3;
107 encoded_certs = new byte[certs.length][];
108 for (int i = 0; i < certs.length; i++) {
117 length = 3 + 3 * encoded_certs.length;
118 for (int i = 0; i < encoded_certs.length; i++) {
119 length += encoded_certs[i].length;
133 encoded_certs = new byte[certs.length][];
134 for (int i = 0; i < certs.length; i++) {
143 total_length = 3 * encoded_certs.length;
144 for (int i = 0; i < encoded_certs.length; i++) {
145 total_length += encoded_certs[i].length;
148 for (int i = 0; i < encoded_certs.length; i++) {
149 out.writeUint24(encoded_certs[i].length);