Added limited list of supported ciphers
[folly.git] / folly / io / async / SSLContext.h
index 83f0ad22442ae21300c894b563f8730b1639a53d..4593f91804a5651f7993b7ee3505cea21763e635 100644 (file)
@@ -161,6 +161,13 @@ class SSLContext {
    */
   void setClientECCurvesList(const std::vector<std::string>& ecCurves);
 
+  /**
+   * Method to add support for a specific elliptic curve encryption algorithm.
+   *
+   * @param curveName: The name of the ec curve to support, eg: prime256v1.
+   */
+  void setServerECCurve(const std::string& curveName);
+
   /**
    * Sets an x509 verification param on the context.
    */