(session, fragment)
| 76 | close_notify: close_notify, |
| 77 | |
| 78 | unpacketize(session, fragment) { |
| 79 | session.traceProtocol(this); |
| 80 | const s = new SSLStream(fragment); |
| 81 | session.alert = {level: s.readChar(), description: s.readChar()}; |
| 82 | if (close_notify !== session.alert.description) |
| 83 | throw new TLSError("alert: " + session.alert.level + ", " + session.alert.description); |
| 84 | trace("SSL: close notify\n"); |
| 85 | }, |
| 86 | packetize(session, level, description) { |
| 87 | session.traceProtocol(this); |
| 88 |
nothing calls this directly
no test coverage detected