val parse_version :
string ->(Core.tls_version, [> `Decode of string ])Stdlib.result
val parse_any_version :
string ->(Core.tls_any_version, [> `Decode of string ])Stdlib.result
val parse_record :
string ->([ `Record of (Core.tls_hdr * string) * string| `Fragment of string ],
[> `Unexpected of [> `Content_type of int ]| `Protocol_version of [> `Unknown_record of int * int ]| `Record_overflow of int ])Stdlib.result
val parse_handshake_frame : string ->string option * string
val parse_handshake :
string ->(Core.tls_handshake, [> `Decode of string ])Stdlib.result
val parse_alert :
string ->(Core.tls_alert, [> `Decode of string ])Stdlib.result
val parse_change_cipher_spec :
string ->(unit, [> `Decode of string ])Stdlib.result
val parse_certificate_request :
string ->(Packet.client_certificate_type list * string list, [> `Decode of string ])Stdlib.result