Sourceval agreed_cert :
[< `Multiple of
(X509.Certificate.t list
* ([> `ED25519 of 'b| `P256 of 'c| `P384 of 'd| `P521 of 'e| `RSA of 'f ]as 'a))
list| `Multiple_default of
(X509.Certificate.t list * 'g) * (X509.Certificate.t list * 'h) list| `None| `Single of X509.Certificate.t list * 'g ]->?f:???->?signature_algorithms:???->[ `host ]Domain_name.t option->(X509.Certificate.t list * 'g,
[> `Error of
[> `CouldntSelectCertificate
| `NoCertificateConfigured| `NoMatchingCertificateFound of string ] ])result
Sourceval get_secure_renegotiation :
[> `SecureRenegotiation of 'a ] list->'a option
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:???->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