Class: EchSpec::TLS13Client::Connection
- Inherits:
-
TTTLS13::Connection
- Object
- TTTLS13::Connection
- EchSpec::TLS13Client::Connection
- Defined in:
- lib/echspec/tls13_client.rb
Instance Method Summary collapse
Instance Method Details
#recv_message(cipher) ⇒ TTTLS13::Message::$Object, String
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/echspec/tls13_client.rb', line 11 def (cipher) return .shift unless .empty? = nil orig_msgs = [] loop do record, orig_msgs = recv_record(cipher) = record. break unless .empty? end += [1..].zip(orig_msgs[1..]) = .first orig_msg = orig_msgs.first [, orig_msg] end |