diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-10-17 18:09:03 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-10-17 18:09:03 -0400 |
commit | 68b3441d90fa4230b62d19a43c49dd2aa155db47 (patch) | |
tree | d1eb7ecb77e8adaf21b0bcb82531912fadccefe8 /src | |
parent | d29498902d40a446c65de1cafd567a79a4bbf84e (diff) | |
download | cryptography-68b3441d90fa4230b62d19a43c49dd2aa155db47.tar.gz cryptography-68b3441d90fa4230b62d19a43c49dd2aa155db47.tar.bz2 cryptography-68b3441d90fa4230b62d19a43c49dd2aa155db47.zip |
better document hte iface
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptography/hazmat/primitives/asymmetric/ec.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cryptography/hazmat/primitives/asymmetric/ec.py b/src/cryptography/hazmat/primitives/asymmetric/ec.py index 052ae742..c6f83667 100644 --- a/src/cryptography/hazmat/primitives/asymmetric/ec.py +++ b/src/cryptography/hazmat/primitives/asymmetric/ec.py @@ -44,6 +44,13 @@ class EllipticCurvePrivateKey(object): """ @abc.abstractmethod + def exchange(self, algorithm, peer_public_key): + """ + Performs a key exchange operation using the provided algorithm with the + provided peer's public key. + """ + + @abc.abstractmethod def public_key(self): """ The EllipticCurvePublicKey for this private key. |