[PYTHON-CRYPTO] Two utility patches
Conrad Steenberg
conrad at HEP.CALTECH.EDU
Tue Dec 28 17:57:47 CET 2004
Hi
Attached are two small patches that I've found useful and maintained for
a while. I'd like to submit these for possible inclusion in the main
tree.
- The first patch wraps the library call
int X509_verify(X509 *a, EVP_PKEY *r);
and makes it available in the X509.X509 class.
- The second provides a method to extract an RSA struct out of an
EVP_PKEY struct, wrapping the library call
RSA *EVP_PKEY_get1_RSA(EVP_PKEY *);
These should obviously be adapted for the 0.15 branch eventually.
Comments?
Cheers
Conrad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m2crypto-0.13.verify.diff
Type: text/x-patch
Size: 1264 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-crypto/attachments/20041228/c80785ac/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m2crypto-0.11.getkey.diff
Type: text/x-patch
Size: 711 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-crypto/attachments/20041228/c80785ac/attachment-0001.bin>
More information about the python-crypto
mailing list