|
OpenVPN 3 Core Library
|
#include <sslctx.hpp>
Public Types | |
| typedef RCPtr< Config > | Ptr |
Public Types inherited from openvpn::SSLConfigAPI | |
| enum | LoadFlags { LF_PARSE_MODE = (1 << 0) , LF_ALLOW_CLIENT_CERT_NOT_REQUIRED = (1 << 1) , LF_RELAY_MODE = (1 << 2) } |
| using | Ptr = RCPtr< SSLConfigAPI > |
Public Types inherited from openvpn::RC< thread_unsafe_refcount > | |
| using | Ptr = RCPtr< RC > |
Public Member Functions | |
| Config ()=default | |
| void | load_identity (const std::string &subject_match) |
| SSLFactoryAPI::Ptr | new_factory () override |
| void | set_mode (const Mode &mode_arg) override |
| const Mode & | get_mode () const override |
| void | set_frame (const Frame::Ptr &frame_arg) override |
| void | load (const OptionList &opt, const unsigned int lflags) override |
| void | set_external_pki_callback (ExternalPKIBase *external_pki_arg, const std::string &alias) override |
| void | set_private_key_password (const std::string &pwd) override |
| void | load_ca (const std::string &ca_txt, bool strict) override |
| void | load_crl (const std::string &crl_txt) override |
| void | load_cert (const std::string &cert_txt) override |
| void | load_cert (const std::string &cert_txt, const std::string &extra_certs_txt) override |
| void | load_private_key (const std::string &key_txt) override |
| void | load_dh (const std::string &dh_txt) override |
| void | set_debug_level (const int debug_level) override |
| void | set_flags (const unsigned int flags_arg) override |
| void | set_ns_cert_type (const NSCert::Type ns_cert_type_arg) override |
| void | set_remote_cert_tls (const KUParse::TLSWebType wt) override |
| void | set_tls_remote (const std::string &tls_remote_arg) override |
| void | set_tls_version_min (const TLSVersion::Type tvm) override |
| void | set_local_cert_enabled (const bool v) override |
| void | set_enable_renegotiation (const bool v) override |
| void | set_rng (const StrongRandomAPI::Ptr &rng_arg) override |
Public Member Functions inherited from openvpn::SSLConfigAPI | |
| std::string | private_key_type_string () const |
| virtual void | set_session_ticket_handler (TLSSessionTicketBase *session_ticket_handler)=0 |
| virtual void | set_client_session_tickets (const bool v)=0 |
| virtual void | enable_legacy_algorithms (const bool v)=0 |
| virtual void | set_sni_handler (SNI::HandlerBase *sni_handler)=0 |
| virtual void | set_sni_name (const std::string &sni_name_arg)=0 |
| virtual void | set_cn_reject_handler (CommonNameReject *cn_reject_handler_arg)=0 |
| virtual std::string | extract_ca () const =0 |
| virtual std::string | extract_crl () const =0 |
| virtual std::string | extract_cert () const =0 |
| virtual std::vector< std::string > | extract_extra_certs () const =0 |
| virtual std::string | extract_private_key () const =0 |
| virtual std::string | extract_dh () const =0 |
| virtual PKType::Type | private_key_type () const =0 |
| virtual size_t | private_key_length () const =0 |
| virtual void | set_tls_version_max (const TLSVersion::Type tvm)=0 |
| virtual void | set_tls_version_min_override (const std::string &override)=0 |
| virtual void | set_tls_cert_profile (const TLSCertProfile::Type type)=0 |
| virtual void | set_tls_cert_profile_override (const std::string &override)=0 |
| virtual void | set_x509_track (X509Track::ConfigSet x509_track_config_arg)=0 |
| virtual std::string | validate_cert (const std::string &cert_txt) const =0 |
| virtual std::string | validate_cert_list (const std::string &certs_txt) const =0 |
| virtual std::string | validate_crl (const std::string &crl_txt) const =0 |
| virtual std::string | validate_private_key (const std::string &key_txt) const =0 |
| virtual std::string | validate_dh (const std::string &dh_txt) const =0 |
Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount > | |
| RC () noexcept=default | |
| RC (const RC &)=delete | |
| virtual | ~RC ()=default |
| RC & | operator= (const RC &)=delete |
| olong | use_count () const noexcept |
| Delegates call to RCImpl and returns the result. | |
Private Member Functions | |
| void | not_implemented (const char *funcname) |
Private Attributes | |
| Mode | mode |
| CF::Array | identity |
| Frame::Ptr | frame |
Friends | |
| class | AppleSSLContext |
Additional Inherited Members | |
Static Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount > | |
| static constexpr bool | is_thread_safe () |
| Delegates call to RCImpl and returns the result. | |
Definition at line 67 of file sslctx.hpp.
Definition at line 72 of file sslctx.hpp.
|
default |
|
inlineoverridevirtual |
Implements openvpn::SSLConfigAPI.
Definition at line 93 of file sslctx.hpp.
|
inlineoverridevirtual |
Implements openvpn::SSLConfigAPI.
Definition at line 103 of file sslctx.hpp.
|
inlineoverridevirtual |
Implements openvpn::SSLConfigAPI.
Definition at line 126 of file sslctx.hpp.
|
inlineoverridevirtual |
Implements openvpn::SSLConfigAPI.
Definition at line 136 of file sslctx.hpp.
|
inlineoverridevirtual |
Implements openvpn::SSLConfigAPI.
Definition at line 141 of file sslctx.hpp.
|
inlineoverridevirtual |
Implements openvpn::SSLConfigAPI.
Definition at line 131 of file sslctx.hpp.
|
inlineoverridevirtual |
Implements openvpn::SSLConfigAPI.
Definition at line 151 of file sslctx.hpp.
|
inline |
|
inlineoverridevirtual |
Implements openvpn::SSLConfigAPI.
Definition at line 146 of file sslctx.hpp.
|
inlineoverridevirtual |
Implements openvpn::SSLConfigAPI.
Definition at line 83 of file sslctx.hpp.
|
inlineprivate |
|
inlineoverridevirtual |
Implements openvpn::SSLConfigAPI.
Definition at line 156 of file sslctx.hpp.
|
inlineoverride |
Definition at line 191 of file sslctx.hpp.
|
inlineoverridevirtual |
Implements openvpn::SSLConfigAPI.
Definition at line 116 of file sslctx.hpp.
|
inlineoverridevirtual |
Implements openvpn::SSLConfigAPI.
Definition at line 161 of file sslctx.hpp.
|
inlineoverridevirtual |
Implements openvpn::SSLConfigAPI.
Definition at line 98 of file sslctx.hpp.
|
inlineoverridevirtual |
Implements openvpn::SSLConfigAPI.
Definition at line 186 of file sslctx.hpp.
|
inlineoverridevirtual |
Implements openvpn::SSLConfigAPI.
Definition at line 88 of file sslctx.hpp.
|
inlineoverridevirtual |
Implements openvpn::SSLConfigAPI.
Definition at line 166 of file sslctx.hpp.
|
inlineoverridevirtual |
Implements openvpn::SSLConfigAPI.
Definition at line 121 of file sslctx.hpp.
|
inlineoverridevirtual |
Implements openvpn::SSLConfigAPI.
Definition at line 171 of file sslctx.hpp.
|
inlineoverridevirtual |
Implements openvpn::SSLConfigAPI.
Definition at line 196 of file sslctx.hpp.
|
inlineoverridevirtual |
Implements openvpn::SSLConfigAPI.
Definition at line 176 of file sslctx.hpp.
|
inlineoverridevirtual |
Implements openvpn::SSLConfigAPI.
Definition at line 181 of file sslctx.hpp.
|
friend |
Definition at line 69 of file sslctx.hpp.
|
private |
Definition at line 209 of file sslctx.hpp.
|
private |
Definition at line 208 of file sslctx.hpp.
|
private |
Definition at line 207 of file sslctx.hpp.