Botan
1.10.16
|
#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 |
Referenced by Botan::TLS_Client::is_closed().
Definition at line 100 of file tls_policy.cpp.
References compression(), and Botan::NO_COMPRESSION.
|
virtual |
Definition at line 78 of file tls_policy.cpp.
References allow_edh_dsa(), allow_edh_rsa(), and allow_static_rsa().
std::vector< u16bit > Botan::TLS_Policy::ciphersuites | ( | ) | const |
Definition at line 16 of file tls_policy.cpp.
References allow_edh_dsa(), allow_edh_rsa(), allow_static_rsa(), Botan::INTERNAL_ERROR, Botan::TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA, Botan::TLS_DHE_DSS_WITH_AES_128_CBC_SHA, Botan::TLS_DHE_DSS_WITH_AES_256_CBC_SHA, Botan::TLS_DHE_DSS_WITH_SEED_CBC_SHA, Botan::TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA, Botan::TLS_DHE_RSA_WITH_AES_128_CBC_SHA, Botan::TLS_DHE_RSA_WITH_AES_256_CBC_SHA, Botan::TLS_DHE_RSA_WITH_SEED_CBC_SHA, Botan::TLS_NO_RENEGOTIATION_SCSV, Botan::TLS_RSA_WITH_3DES_EDE_CBC_SHA, Botan::TLS_RSA_WITH_AES_128_CBC_SHA, Botan::TLS_RSA_WITH_AES_256_CBC_SHA, and Botan::TLS_RSA_WITH_SEED_CBC_SHA.
|
virtual |
Definition at line 68 of file tls_policy.cpp.
References Botan::NO_COMPRESSION.
Referenced by choose_compression().
|
virtual |
Definition at line 115 of file tls_policy.cpp.
Referenced by Botan::TLS_Server::close().
|
inlinevirtual |
Definition at line 45 of file tls_policy.h.
References Botan::TLS_V10.
Referenced by Botan::TLS_Server::close(), and Botan::TLS_Client::is_closed().
|
inlinevirtual |
Definition at line 50 of file tls_policy.h.
References Botan::TLS_V11.
Referenced by Botan::TLS_Client::~TLS_Client().
|
inlinevirtual |
Definition at line 37 of file tls_policy.h.
Referenced by Botan::TLS_Server::close().
|
inlinevirtual |
Definition at line 40 of file tls_policy.h.
Referenced by Botan::TLS_Server::close().