summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-09-18 17:50:35 -0700
committerJeff Forcier <jeff@bitprophet.org>2014-09-18 17:50:43 -0700
commit64fea9c8c7ae7af3720cf2922a400c94f736c43a (patch)
tree0c2125015e49c10e74bd513b832c5d72840f43e2
parent2cfe9f9a77833ae104019b7a7ee4ac73e340835f (diff)
Missed some old spots re: ECDSA docs still being epydoc
-rw-r--r--paramiko/ecdsakey.py13
1 files changed, 5 insertions, 8 deletions
diff --git a/paramiko/ecdsakey.py b/paramiko/ecdsakey.py
index 6ae2d277..7376b81f 100644
--- a/paramiko/ecdsakey.py
+++ b/paramiko/ecdsakey.py
@@ -17,7 +17,7 @@
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
"""
-L{ECDSAKey}
+ECDSA keys
"""
import binascii
@@ -130,13 +130,10 @@ class ECDSAKey (PKey):
Generate a new private RSA key. This factory function can be used to
generate a new host key or authentication key.
- @param bits: number of bits the generated key should be.
- @type bits: int
- @param progress_func: an optional function to call at key points in
- key generation (used by C{pyCrypto.PublicKey}).
- @type progress_func: function
- @return: new private key
- @rtype: L{RSAKey}
+ :param function progress_func:
+ an optional function to call at key points in key generation (used
+ by ``pyCrypto.PublicKey``).
+ :returns: A new private key (`.RSAKey`) object
"""
signing_key = ECDSA.generate()
key = ECDSAKey(vals=(signing_key, signing_key.get_verifying_key()))