23 bool requesting_client_auth) {
45 m_extensions.add(
new Record_Size_Limit(record_size_limit.value_or(max_record_size)));
46 }
else if(record_size_limit.has_value() && record_size_limit.value() < max_record_size) {
52 "Server cannot enforce record size limit without the client supporting it");
70 ch_client_cert_types !=
nullptr && requesting_client_auth) {
97 const auto& offered = alpn_ext->protocols();
99 if(!next_protocol.empty()) {
104 "Application chose an ALPN protocol that the client did not offer");
123 Alert::InternalError,
124 "Application tls_modify_extensions callback removed Server_Certificate_Type from EncryptedExtensions");
129 Alert::InternalError,
130 "Application tls_modify_extensions callback removed Client_Certificate_Type from EncryptedExtensions");