aboutsummaryrefslogtreecommitdiffstats
path: root/misc/python
Commit message (Collapse)AuthorAgeFilesLines
* Update the Python version of the testsuite to use the new filename schemelloyd2006-12-141-2/+2
|
* Comment out some problematic code so at least the Python extension can buildlloyd2006-12-111-0/+2
|
* Check in some old (very minor) changes to the Python wrapper codelloyd2006-12-091-2/+4
|
* Somewhat better public key support, though I have a feeling this is notlloyd2006-10-281-6/+38
| | | | really the right approach.
* Split up all the 'base' algorithm classes into different fileslloyd2006-09-294-71/+116
| | | | Significant improvements to the public key wrappers.
* Drop this, probably shouldn't have been included in the first place.lloyd2006-09-101-16/+0
|
* Check in some very preliminary code for wrapping public keyslloyd2006-09-102-12/+68
| | | | Some fixes to the Filter code, though it is still not entirely functional.
* Use formatted I/O to make the output a little easier to readlloyd2006-09-041-3/+3
|
* Allow for implementing hash functions in Pythonlloyd2006-09-025-69/+165
| | | | Move some code that is used in several places into a common header
* Allow for implementing block ciphers in Pythonlloyd2006-09-022-64/+170
|
* Remove the object() accessors, since those objects might not exist iflloyd2006-08-311-8/+0
| | | | an algorithm were implemented in pure Python.
* Merge the block cipher, stream cipher, hash, and MAC exports into algos.cpplloyd2006-08-316-244/+207
| | | | Add various useful conversion functions
* Export stream cipherslloyd2006-08-312-0/+57
|
* Add hash and MAC wrapperslloyd2006-08-313-0/+107
|
* Also export the name() and clear() methods of the block cipherlloyd2006-08-311-8/+7
|
* Add simple wrappers for block cipher objectslloyd2006-08-313-31/+92
|
* Add some comments to the NIST test suite results file with regards tolloyd2006-08-231-0/+6
| | | | results that have been changed from the official expected results.
* One of the tests had its expected result set wrong (was for testing)lloyd2006-08-231-1/+1
|
* Clean up and finish off the Python version of the NIST X.509 test suite.lloyd2006-08-232-23/+93
| | | | | | | | Expected results are read from a file (results.txt), and pass/fails are reported. Also change validate to return the result normally, rather than throwing an exception; while it did save some code in validate() itself, with the addition of all the code to support it, it was a bit longer, as well as being somewhat hard to follow.
* Remove an old version of the Filter() wrapper functionlloyd2006-08-231-3/+1
|
* Just export OctetString, and define the alternate names for that typelloyd2006-08-233-28/+18
| | | | in the Python portion of the module
* Drop this nonsense with the build/ directory, it was just getting in the waylloyd2006-08-231-8/+4
|
* Initial (only partially working) attempt to allow filters to be implementedlloyd2006-08-233-9/+79
| | | | in Python.
* Merge the export_pipe() and export_filter() functions, some other smalllloyd2006-08-232-33/+31
| | | | cleanups.
* Remove a semicolon that didn't need to be therelloyd2006-08-231-1/+1
|
* Remove all exports from the Filter class, so it becomes entirely opaque.lloyd2006-08-231-4/+1
|
* Export Pipe::read_all_as_string simply as read_all, since strings are howlloyd2006-08-232-8/+6
| | | | | | binary data is handled in Python. Export Pipe::process_msg()
* Support for MAC filterslloyd2006-08-233-10/+35
| | | | Stream ciphers no longer require choosing a direction.
* Implement basic cipher filterslloyd2006-08-234-9/+39
|
* Finally get basic filters objects to work properlylloyd2006-08-233-43/+41
|
* Remove dirs from the dependencies, as it was causing things to be rebuiltlloyd2006-08-231-2/+2
| | | | needlessly.
* Add various useful attributes and functions. Also, remove the variantlloyd2006-08-231-6/+11
| | | | | of Pipe::write taking a byte buffer and length, since it seems the normal thing to do in Python is to store binary data in strings.
* Revert back to the original test script (which is still crashing, presumablylloyd2006-08-231-14/+9
| | | | due to reference counting bugs in the wrapper code)
* Move the code from base.cpp into core.cpp, drop base.cpplloyd2006-08-232-35/+24
|
* Move all .o files into build/lloyd2006-08-231-5/+5
| | | | Don't require that libboost_python exist inside the build directory anymore
* Remove import for the re module, which was not being usedlloyd2006-08-231-4/+4
| | | | | Rename a function from throw_unless_ok to raise_unless_ok, as that's a bit more Pythonic
* Add an implementation of the NIST X.509 tests in Pythonlloyd2006-08-231-0/+45
|
* Add basic wrapping for X509_CRL, no member functions are exposed as theylloyd2006-08-231-1/+7
| | | | would require additional type conversions.
* Change a couple of enum names on the Python sidelloyd2006-08-231-2/+2
|
* Updates to the test applicationlloyd2006-08-231-26/+13
|
* Add an implicit conversion from MemoryRegion<byte> to a (hex-encoded)lloyd2006-08-231-16/+18
| | | | Python string
* Add implicit conversions for std::vector for various useful types, solloyd2006-08-231-34/+46
| | | | | | | there is no need for stub wrappers everywhere for handling that conversion. Implement more of X509_Store, in particular searching through the store for certificates matching chosen criteria.
* Add basic wrapping for X509_Storelloyd2006-08-231-1/+39
|
* Add accessors for the key identifiers, and implement equality operatorslloyd2006-08-222-3/+32
|
* Remove oid_lookup, since that is handled by X509_Certificate itself now.lloyd2006-08-221-27/+12
| | | | | Use a namespace alias so everything from Boost.Python appears in the python namespace, to keep things a little cleaner/more explicit.
* Start code for wrapping X.509 certificates in Pythonlloyd2006-08-222-3/+74
|
* Move the contents of pipe.cpp into filter.cpplloyd2006-08-222-24/+14
|
* Very minor Python wrapper updateslloyd2006-07-312-46/+5
|
* Move Boost.Python wrapper from doc/ to misc/ lloyd2006-06-039-0/+260