(session, msgType, body)
| 188 | handshakeDigestUpdate(session, body); |
| 189 | }, |
| 190 | packetize(session, msgType, body) { |
| 191 | session.traceProtocol(this); |
| 192 | body = body.getChunk(); |
| 193 | let s = new SSLStream(undefined, 1 + 3 + body.byteLength); |
| 194 | s.writeChar(msgType); |
| 195 | s.writeChars(body.byteLength, 3); |
| 196 | s.writeChunk(body); |
| 197 | let msg = s.getChunk(); |
| 198 | handshakeDigestUpdate(session, msg); |
| 199 | return recordProtocol.packetize(session, recordProtocol.handshake, msg); |
| 200 | }, |
| 201 | |
| 202 | // protocols |
| 203 | helloRequest: { |
nothing calls this directly
no test coverage detected