39 virtual bool allow_ssl_key_log_file()
const;
45 virtual std::vector<std::string> allowed_ciphers()
const;
51 virtual std::vector<std::string> allowed_signature_hashes()
const;
56 virtual std::vector<std::string> allowed_macs()
const;
63 virtual std::vector<std::string> allowed_key_exchange_methods()
const;
69 virtual std::vector<std::string> allowed_signature_methods()
const;
71 virtual std::vector<Signature_Scheme> allowed_signature_schemes()
const;
76 virtual std::vector<Signature_Scheme> acceptable_signature_schemes()
const;
88 virtual std::optional<std::vector<Signature_Scheme>> acceptable_certificate_signature_schemes()
const;
99 virtual size_t minimum_signature_strength()
const;
109 virtual bool require_cert_revocation_info()
const;
111 bool allowed_signature_method(std::string_view sig_method)
const;
112 bool allowed_signature_hash(std::string_view hash)
const;
128 virtual std::vector<Group_Params> key_exchange_groups()
const;
141 virtual std::vector<Group_Params> key_exchange_groups_to_offer()
const;
157 virtual bool use_ecc_point_compression()
const;
169 virtual Group_Params choose_key_exchange_group(
const std::vector<Group_Params>& supported_by_peer,
170 const std::vector<Group_Params>& offered_by_peer)
const;
183 virtual bool allow_insecure_renegotiation()
const;
193 virtual bool include_time_in_hello_random()
const;
207 virtual bool allow_client_initiated_renegotiation()
const;
221 virtual bool allow_server_initiated_renegotiation()
const;
234 virtual bool abort_connection_on_undesired_renegotiation()
const;
242 virtual bool only_resume_with_exact_version()
const;
247 virtual bool allow_tls12()
const;
252 virtual bool allow_tls13()
const;
257 virtual bool allow_dtls12()
const;
280 virtual size_t minimum_dh_group_size()
const;
289 virtual size_t minimum_ecdsa_group_size()
const;
299 virtual size_t minimum_ecdh_group_size()
const;
312 virtual size_t minimum_rsa_bits()
const;
323 virtual void check_peer_key_acceptable(
const Public_Key& public_key)
const;
338 virtual bool hide_unknown_users()
const;
352 virtual size_t maximum_session_tickets_per_client_hello()
const;
363 virtual std::chrono::seconds session_ticket_lifetime()
const;
374 virtual bool reuse_session_tickets()
const;
386 virtual size_t new_session_tickets_upon_handshake_success()
const;
393 virtual std::vector<uint16_t> srtp_profiles()
const;
413 virtual bool acceptable_ciphersuite(
const Ciphersuite& suite)
const;
422 virtual bool server_uses_own_ciphersuite_preferences()
const;
430 virtual bool negotiate_encrypt_then_mac()
const;
444 virtual std::optional<uint16_t> record_size_limit()
const;
449 virtual bool support_cert_status_message()
const;
456 virtual bool require_client_certificate_authentication()
const;
462 virtual bool request_client_certificate_authentication()
const;
473 virtual std::vector<Certificate_Type> accepted_client_certificate_types()
const;
484 virtual std::vector<Certificate_Type> accepted_server_certificate_types()
const;
490 virtual bool allow_dtls_epoch0_restart()
const;
499 virtual std::vector<uint16_t> ciphersuite_list(
Protocol_Version version)
const;
504 virtual size_t dtls_default_mtu()
const;
509 virtual size_t dtls_initial_timeout()
const;
514 virtual size_t dtls_maximum_timeout()
const;
520 virtual size_t maximum_certificate_chain_size()
const;
525 virtual bool allow_resumption_for_renegotiation()
const;
539 virtual bool tls_13_middlebox_compatibility_mode()
const;
550 virtual bool hash_hello_random()
const;
556 virtual void print(std::ostream& o)
const;
562 std::string to_string()
const;
732 bool allow_ssl_key_log_file()
const override;
734 std::vector<std::string> allowed_ciphers()
const override;
736 std::vector<std::string> allowed_signature_hashes()
const override;
738 std::vector<std::string> allowed_macs()
const override;
740 std::vector<std::string> allowed_key_exchange_methods()
const override;
742 std::vector<std::string> allowed_signature_methods()
const override;
744 std::vector<Group_Params> key_exchange_groups()
const override;
746 std::vector<Group_Params> key_exchange_groups_to_offer()
const override;
748 bool use_ecc_point_compression()
const override;
750 bool allow_tls12()
const override;
752 bool allow_tls13()
const override;
754 bool allow_dtls12()
const override;
756 bool allow_insecure_renegotiation()
const override;
758 bool include_time_in_hello_random()
const override;
760 bool allow_client_initiated_renegotiation()
const override;
761 bool allow_server_initiated_renegotiation()
const override;
763 bool server_uses_own_ciphersuite_preferences()
const override;
765 bool negotiate_encrypt_then_mac()
const override;
767 std::optional<uint16_t> record_size_limit()
const override;
769 bool support_cert_status_message()
const override;
771 bool require_client_certificate_authentication()
const override;
773 std::vector<Certificate_Type> accepted_client_certificate_types()
const override;
774 std::vector<Certificate_Type> accepted_server_certificate_types()
const override;
776 size_t minimum_ecdh_group_size()
const override;
778 size_t minimum_ecdsa_group_size()
const override;
780 size_t minimum_dh_group_size()
const override;
782 size_t minimum_rsa_bits()
const override;
784 size_t minimum_signature_strength()
const override;
786 size_t dtls_default_mtu()
const override;
788 size_t dtls_initial_timeout()
const override;
790 size_t dtls_maximum_timeout()
const override;
792 bool require_cert_revocation_info()
const override;
794 bool hide_unknown_users()
const override;
796 size_t maximum_session_tickets_per_client_hello()
const override;
798 std::chrono::seconds session_ticket_lifetime()
const override;
800 bool reuse_session_tickets()
const override;
802 size_t new_session_tickets_upon_handshake_success()
const override;
804 bool tls_13_middlebox_compatibility_mode()
const override;
806 bool hash_hello_random()
const override;
808 std::vector<uint16_t> srtp_profiles()
const override;
810 void set(
const std::string& key,
const std::string& value);
817 std::vector<std::string> get_list(
const std::string& key,
const std::vector<std::string>& def)
const;
819 std::vector<Group_Params> read_group_list(std::string_view group_str)
const;
820 std::vector<Certificate_Type> read_cert_type_list(
const std::string& cert_type_str)
const;
822 size_t get_len(
const std::string& key,
size_t def)
const;
824 std::chrono::seconds get_duration(
const std::string& key, std::chrono::seconds def)
const;
826 bool get_bool(
const std::string& key,
bool def)
const;
828 std::string get_str(
const std::string& key,
const std::string& def =
"")
const;
830 bool set_value(
const std::string& key, std::string_view val,
bool overwrite);
833 std::map<std::string, std::string> m_kv;