aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/hazmat/backends/interfaces.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/cryptography/hazmat/backends/interfaces.py')
-rw-r--r--src/cryptography/hazmat/backends/interfaces.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cryptography/hazmat/backends/interfaces.py b/src/cryptography/hazmat/backends/interfaces.py
index a43621a7..faa0b313 100644
--- a/src/cryptography/hazmat/backends/interfaces.py
+++ b/src/cryptography/hazmat/backends/interfaces.py
@@ -215,6 +215,12 @@ class EllipticCurveBackend(object):
Return an EllipticCurvePublicKey provider using the given numbers.
"""
+ @abc.abstractmethod
+ def elliptic_curve_exchange_algorithm_supported(self):
+ """
+ Returns whether the exchange algorithm is supported by this backend.
+ """
+
@six.add_metaclass(abc.ABCMeta)
class PEMSerializationBackend(object):