OpenVPN 3 Core Library
|
#include <sslapi.hpp>
Public Types | |
enum | LoadFlags { LF_PARSE_MODE = (1 << 0) , LF_ALLOW_CLIENT_CERT_NOT_REQUIRED = (1 << 1) , LF_RELAY_MODE = (1 << 2) } |
typedef RCPtr< SSLConfigAPI > | Ptr |
![]() | |
typedef RCPtr< RC > | Ptr |
Public Member Functions | |
std::string | private_key_type_string () const |
virtual void | set_mode (const Mode &mode_arg)=0 |
virtual const Mode & | get_mode () const =0 |
virtual void | set_external_pki_callback (ExternalPKIBase *external_pki_arg, const std::string &alias)=0 |
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_private_key_password (const std::string &pwd)=0 |
virtual void | set_cn_reject_handler (CommonNameReject *cn_reject_handler_arg)=0 |
virtual void | load_ca (const std::string &ca_txt, bool strict)=0 |
virtual void | load_crl (const std::string &crl_txt)=0 |
virtual void | load_cert (const std::string &cert_txt)=0 |
virtual void | load_cert (const std::string &cert_txt, const std::string &extra_certs_txt)=0 |
virtual void | load_private_key (const std::string &key_txt)=0 |
virtual void | load_dh (const std::string &dh_txt)=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_frame (const Frame::Ptr &frame_arg)=0 |
virtual void | set_debug_level (const int debug_level)=0 |
virtual void | set_flags (const unsigned int flags_arg)=0 |
virtual void | set_ns_cert_type (const NSCert::Type ns_cert_type_arg)=0 |
virtual void | set_remote_cert_tls (const KUParse::TLSWebType wt)=0 |
virtual void | set_tls_remote (const std::string &tls_remote_arg)=0 |
virtual void | set_tls_version_min (const TLSVersion::Type tvm)=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_local_cert_enabled (const bool v)=0 |
virtual void | set_x509_track (X509Track::ConfigSet x509_track_config_arg)=0 |
virtual void | set_rng (const StrongRandomAPI::Ptr &rng_arg)=0 |
virtual void | load (const OptionList &opt, const unsigned int lflags)=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 |
virtual SSLFactoryAPI::Ptr | new_factory ()=0 |
![]() | |
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. | |
Additional Inherited Members | |
![]() | |
static constexpr bool | is_thread_safe () |
Delegates call to RCImpl and returns the result. | |
Definition at line 107 of file sslapi.hpp.
typedef RCPtr<SSLConfigAPI> openvpn::SSLConfigAPI::Ptr |
Definition at line 110 of file sslapi.hpp.
Enumerator | |
---|---|
LF_PARSE_MODE | |
LF_ALLOW_CLIENT_CERT_NOT_REQUIRED | |
LF_RELAY_MODE |
Definition at line 112 of file sslapi.hpp.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::AppleSSLContext::Config, openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::AppleSSLContext::Config, openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::AppleSSLContext::Config, openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::AppleSSLContext::Config, openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::AppleSSLContext::Config, openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::AppleSSLContext::Config, openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::AppleSSLContext::Config, openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::AppleSSLContext::Config, openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::AppleSSLContext::Config, openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
inline |
Definition at line 119 of file sslapi.hpp.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::AppleSSLContext::Config, openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::AppleSSLContext::Config, openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::AppleSSLContext::Config, openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::AppleSSLContext::Config, openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::AppleSSLContext::Config, openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::AppleSSLContext::Config, openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::AppleSSLContext::Config, openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::AppleSSLContext::Config, openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::AppleSSLContext::Config, openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::AppleSSLContext::Config, openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::AppleSSLContext::Config, openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::AppleSSLContext::Config, openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.
|
pure virtual |
Implemented in openvpn::MbedTLSContext::Config, and openvpn::OpenSSLContext::Config.