Botan
1.10.9
|
#include <tls_policy.h>
Public Member Functions | |
virtual bool | allow_edh_dsa () const |
virtual bool | allow_edh_rsa () const |
virtual bool | allow_static_rsa () const |
virtual bool | check_cert (const std::vector< X509_Certificate > &cert_chain) const =0 |
virtual byte | choose_compression (const std::vector< byte > &client) const |
virtual u16bit | choose_suite (const std::vector< u16bit > &client_suites, bool rsa_ok, bool dsa_ok) const |
std::vector< u16bit > | ciphersuites () const |
virtual std::vector< byte > | compression () const |
virtual DL_Group | dh_group () const |
virtual Version_Code | min_version () const |
virtual Version_Code | pref_version () const |
virtual bool | require_client_auth () const |
virtual size_t | rsa_export_keysize () const |
virtual | ~TLS_Policy () |
TLS Policy Base Class Inherit and overload as desired to suite local policy concerns
Definition at line 22 of file tls_policy.h.
|
inlinevirtual |
Definition at line 54 of file tls_policy.h.
|
inlinevirtual |
Definition at line 36 of file tls_policy.h.
Referenced by choose_suite(), and ciphersuites().
|
inlinevirtual |
Definition at line 35 of file tls_policy.h.
Referenced by choose_suite(), and ciphersuites().
|
inlinevirtual |
Definition at line 34 of file tls_policy.h.
Referenced by choose_suite(), and ciphersuites().
|
pure virtual |
Definition at line 100 of file tls_policy.cpp.
References compression(), and Botan::NO_COMPRESSION.
Referenced by Botan::Server_Hello::Server_Hello().
|
virtual |
Definition at line 78 of file tls_policy.cpp.
References allow_edh_dsa(), allow_edh_rsa(), and allow_static_rsa().
Referenced by Botan::Server_Hello::Server_Hello().
std::vector< u16bit > Botan::TLS_Policy::ciphersuites | ( | ) | const |
Definition at line 16 of file tls_policy.cpp.
References allow_edh_dsa(), allow_edh_rsa(), and allow_static_rsa().
Referenced by Botan::Client_Hello::Client_Hello().
|
virtual |
Definition at line 68 of file tls_policy.cpp.
References Botan::NO_COMPRESSION.
Referenced by choose_compression(), and Botan::Client_Hello::Client_Hello().
|
virtual |
Definition at line 115 of file tls_policy.cpp.
|
inlinevirtual |
|
inlinevirtual |
Definition at line 50 of file tls_policy.h.
References Botan::TLS_V11.
Referenced by Botan::Client_Hello::Client_Hello().
|
inlinevirtual |
Definition at line 37 of file tls_policy.h.
|
inlinevirtual |
Definition at line 40 of file tls_policy.h.