CVS: crypto/Doc pycrypt.tex,1.15,1.16
"A.M. Kuchling" <[email protected]> Thu, 03 Apr 2003 12:36:42 -0800
| Newsgroups | gmane.comp.python.cryptography.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/pycrypto/crypto/Doc
In directory sc8-pr-cvs1:/tmp/cvs-serv31665/Doc
Modified Files:
pycrypt.tex
Log Message:
Rename can* and has* to can_* and has_*
Index: pycrypt.tex
===================================================================
RCS file: /cvsroot/pycrypto/crypto/Doc/pycrypt.tex,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- pycrypt.tex 3 Apr 2003 20:30:28 -0000 1.15
+++ pycrypt.tex 3 Apr 2003 20:36:07 -0000 1.16
@@ -702,16 +702,16 @@
returns false otherwise.
\end{methoddesc}
-\begin{methoddesc}{canencrypt}{}
+\begin{methoddesc}{can_encrypt}{}
Returns true if the algorithm is capable of encrypting and decrypting
data; returns false otherwise. To test if a given key object can sign
-data, use \code{key.canencrypt() and key.hasprivate()}.
+data, use \code{key.can_encrypt() and key.has_private()}.
\end{methoddesc}
-\begin{methoddesc}{cansign}{}
+\begin{methoddesc}{can_sign}{}
Returns true if the algorithm is capable of signing data; returns false
otherwise. To test if a given key object can sign data, use
-\code{key.cansign() and key.hasprivate()}.
+\code{key.can_sign() and key.has_private()}.
\end{methoddesc}
\begin{methoddesc}{decrypt}{tuple}
@@ -732,7 +732,7 @@
exception is raised if it is not.
\end{methoddesc}
-\begin{methoddesc}{hasprivate}{}
+\begin{methoddesc}{has_private}{}
Returns true if the key object contains the private key data, which
will allow decrypting data and generating signatures.
Otherwise this returns false.
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/