Lines Matching defs:contentType

135         byte contentType = packet.get();                   // pos: 0
155 " " + Record.contentName(contentType) + ", length = " +
175 if (((contentType != Record.ct_handshake) &&
176 (contentType != Record.ct_change_cipher_spec)) ||
192 RecordFragment buffered = new RecordFragment(fragment, contentType,
224 decodeCipher, contentType, packet, recordEnS);
238 if (contentType != Record.ct_change_cipher_spec &&
239 contentType != Record.ct_handshake) { // app data or alert
251 return new Plaintext(contentType, majorVersion, minorVersion,
256 if (contentType == Record.ct_change_cipher_spec) {
274 new RecordFragment(plaintextFragment, contentType,
282 contentType, majorVersion, minorVersion,
339 byte contentType = packet.get(pos);
340 if (!Record.isValidContentType(contentType)) {
374 byte contentType, byte majorVersion, byte minorVersion,
418 return new HandshakeFragment(fragment, contentType,
429 byte contentType;
437 RecordFragment(ByteBuffer fragBuf, byte contentType,
440 this((byte[])null, contentType, majorVersion, minorVersion,
447 RecordFragment(byte[] fragment, byte contentType,
452 this.contentType = contentType;
464 if (this.contentType == Record.ct_change_cipher_spec) {
465 if (o.contentType == Record.ct_change_cipher_spec) {
471 (o.contentType == Record.ct_handshake)) {
475 } else if (o.contentType == Record.ct_change_cipher_spec) {
477 (this.contentType == Record.ct_handshake)) {
509 HandshakeFragment(byte[] fragment, byte contentType,
515 super(fragment, contentType, majorVersion, minorVersion,
852 } else if (rf.contentType != Record.ct_change_cipher_spec) {
935 } else if (rf.contentType == Record.ct_change_cipher_spec) {
1119 rFrag.contentType, fragment, rFrag.recordEnS);
1133 if (rFrag.contentType == Record.ct_handshake) {
1136 rFrag.contentType,
1164 return new Plaintext(rFrag.contentType,
1175 if (rFrag.contentType == Record.ct_change_cipher_spec) {
1190 return new Plaintext(rFrag.contentType,
1195 } else { // rFrag.contentType == Record.ct_handshake
1207 Plaintext plaintext = new Plaintext(hsFrag.contentType,
1233 Plaintext plaintext = new Plaintext(hsFrag.contentType,
1267 if (rFrag.contentType != Record.ct_handshake) {
1459 if (fragment.contentType == Record.ct_change_cipher_spec) {
1464 } else if (fragment.contentType == Record.ct_handshake) {
1487 if ((rFrag.contentType != Record.ct_handshake) ||
1522 if ((rFrag.contentType != Record.ct_handshake) ||