aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_policy.h
diff options
context:
space:
mode:
authorRenĂ© Korthaus <[email protected]>2016-10-18 09:54:45 +0200
committerRenĂ© Korthaus <[email protected]>2016-10-19 09:13:36 +0200
commit47532b63e947e020df15a03d91f9d67657cd11dd (patch)
tree38adf81ddad33192a13df060d24b3a0c7f2aab4d /src/lib/tls/tls_policy.h
parent446f2a0289cca0de11e748e73071a39c06940239 (diff)
Improve tls doxygen [ci skip]
Diffstat (limited to 'src/lib/tls/tls_policy.h')
-rw-r--r--src/lib/tls/tls_policy.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/tls/tls_policy.h b/src/lib/tls/tls_policy.h
index 47ac51685..73af80547 100644
--- a/src/lib/tls/tls_policy.h
+++ b/src/lib/tls/tls_policy.h
@@ -248,12 +248,25 @@ class BOTAN_DLL Policy
virtual std::vector<u16bit> ciphersuite_list(Protocol_Version version,
bool have_srp) const;
+ /**
+ * @return the default MTU for DTLS
+ */
virtual size_t dtls_default_mtu() const;
+ /**
+ * @return the initial timeout for DTLS
+ */
virtual size_t dtls_initial_timeout() const;
+ /**
+ * @return the maximum timeout for DTLS
+ */
virtual size_t dtls_maximum_timeout() const;
+ /**
+ * Convert this policy to a printable format.
+ * @param o stream to be printed to
+ */
virtual void print(std::ostream& o) const;
virtual ~Policy() {}