Sourceval to_client_ext_type :
[< `ALPN of 'a| `Cookie of 'b| `Draft of 'c| `ECPointFormats| `EarlyDataIndication| `ExtendedMasterSecret| `Hostname of 'd| `KeyShare of 'e| `MaxFragmentLength of 'f| `Padding of 'g| `PostHandshakeAuthentication| `PreSharedKeys of 'h| `PskKeyExchangeModes of 'i| `SecureRenegotiation of 'j| `SignatureAlgorithms of 'k| `SupportedGroups of 'l| `SupportedVersions of 'm| `UnknownExtension of 'n ]->[> `ALPN
| `Cookie| `Draft| `ECPointFormats| `EarlyDataIndication| `ExtendedMasterSecret| `Hostname| `KeyShare| `MaxFragmentLength| `Padding| `PostHandshakeAuthentication| `PreSharedKey| `PskKeyExchangeMode| `SecureRenegotiation| `SignatureAlgorithms| `SupportedGroups| `SupportedVersion| `UnknownExtension ]
Sourceval to_server_ext_type :
[< `ALPN of 'a| `Draft of 'b| `ECPointFormats| `EarlyDataIndication| `ExtendedMasterSecret| `Hostname| `KeyShare of 'c| `MaxFragmentLength of 'd| `PreSharedKey of 'e| `SecureRenegotiation of 'f| `SelectedVersion of 'g| `UnknownExtension of 'h ]->[> `ALPN
| `Draft| `ECPointFormats| `EarlyDataIndication| `ExtendedMasterSecret| `Hostname| `KeyShare| `MaxFragmentLength| `PreSharedKey| `SecureRenegotiation| `SupportedVersion| `UnknownExtension ]
Sourceval extension_types :
('a->[> `UnknownExtension ]as 'b)->'a list->'b list
Sourceval server_exts_subset_of_client :
[< `ALPN of 'a| `Draft of 'b| `ECPointFormats| `EarlyDataIndication| `ExtendedMasterSecret| `Hostname| `KeyShare of 'c| `MaxFragmentLength of 'd| `PreSharedKey of 'e| `SecureRenegotiation of 'f| `SelectedVersion of 'g| `UnknownExtension of 'h ]
list->[< `ALPN of 'i| `Cookie of 'j| `Draft of 'k| `ECPointFormats| `EarlyDataIndication| `ExtendedMasterSecret| `Hostname of 'l| `KeyShare of 'm| `MaxFragmentLength of 'n| `Padding of 'o| `PostHandshakeAuthentication| `PreSharedKeys of 'p| `PskKeyExchangeModes of 'q| `SecureRenegotiation of 'r| `SignatureAlgorithms of 's| `SupportedGroups of 't| `SupportedVersions of 'u| `UnknownExtension of 'v ]
list->
bool
Sourceval validate_chain :
(?ip:'a->host:'b->X509.Certificate.t list->(('c list * 'd) option, 'e)result)
option->Cstruct.t list->'a option->'b->(X509.Certificate.t option * X509.Certificate.t list * 'c list * 'd option,
[> `Error of [> `AuthenticationFailure of 'e ]| `Fatal of [> `BadCertificateChain | `KeyTooSmall ] ])result