diff options
Diffstat (limited to 'src/tls/tls_policy.h')
-rw-r--r-- | src/tls/tls_policy.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tls/tls_policy.h b/src/tls/tls_policy.h index 50793c899..6b7387f46 100644 --- a/src/tls/tls_policy.h +++ b/src/tls/tls_policy.h @@ -54,6 +54,11 @@ class BOTAN_DLL Policy virtual std::vector<std::string> allowed_signature_methods() const; /** + * Return list of ECC curves we are willing to use in order of preference + */ + virtual std::vector<std::string> allowed_ecc_curves() const; + + /** * Returns a list of signature algorithms we are willing to use, * in order of preference. Allowed values any value of * Compression_Method. @@ -61,6 +66,11 @@ class BOTAN_DLL Policy virtual std::vector<byte> compression() const; /** + * Choose an elliptic curve to use + */ + virtual std::string choose_curve(const std::vector<std::string>& curve_names) const; + + /** * Require support for RFC 5746 extensions to enable * renegotiation. * |