diff options
author | Heikki Toivonen <heikki@heikkitoivonen.net> | 2007-06-08 09:03:38 +0000 |
---|---|---|
committer | Heikki Toivonen <heikki@heikkitoivonen.net> | 2007-06-08 09:03:38 +0000 |
commit | 1afa40fc0b443b927b5839d68c57c7c0562f2c02 (patch) | |
tree | 22be51d9e9f9ac0ff35f59ce1c3ef8a49da75ddf /M2Crypto/RSA.py | |
parent | f48299945df5a0ff9ff7b9b20adbbd0aa26cf12d (diff) | |
download | m2crypto-1afa40fc0b443b927b5839d68c57c7c0562f2c02.tar.gz |
Epydoc documentation fixes.
git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@535 2715db39-9adf-0310-9c64-84f055769b4b
Diffstat (limited to 'M2Crypto/RSA.py')
-rw-r--r-- | M2Crypto/RSA.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/M2Crypto/RSA.py b/M2Crypto/RSA.py index 355bca5..1f83b78 100644 --- a/M2Crypto/RSA.py +++ b/M2Crypto/RSA.py @@ -132,8 +132,8 @@ class RSA: """ Save the key pair to a file in DER format. - @type bio: M2Crypto.BIO.BIO - @param bio: M2Crypto.BIO.BIO object to save key to. + @type file: str + @param file: Filename to save key to """ bio = BIO.openfile(file, 'wb') return self.save_key_der_bio(bio) @@ -172,7 +172,7 @@ class RSA: Legal values are 'sha1','sha224', 'sha256', 'ripemd160', and 'md5'. - @return a string which is the signature + @return: a string which is the signature """ digest_type = getattr(m2, 'NID_' + algo, None) if digest_type is None: @@ -195,7 +195,7 @@ class RSA: before it was signed. Legal values are 'sha1','sha224', 'sha256', 'ripemd160', and 'md5'. - @returns True or False, depending on whether the signature was + @return: True or False, depending on whether the signature was verified. """ digest_type = getattr(m2, 'NID_' + algo, None) |