Up – Package index » tls » Library tls
» Tls » ReaderSource 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 ] )
result
Source val parse_handshake_frame : string -> string option * string
Source val parse_change_cipher_spec : string -> (unit, [> `Decode of string ] ) result
Source val parse_certificates : string -> (string list , [> `Decode of string ] ) result
Source val parse_certificates_1_3 :
string ->
(string * (string * 'a list ) list , [> `Decode of string ] ) result
Source val parse_client_dh_key_exchange :
string ->
(string, [> `Decode of string ] ) result
Source val parse_client_ec_key_exchange :
string ->
(string, [> `Decode of string ] ) result
Source val parse_ec_parameters :
string ->
([ `X25519 | `P256 | `P384 | `P521 ] * string * string * string,
[> `Decode of string ] )
result
Source val parse_digitally_signed : string -> (string, [> `Decode of string ] ) result