aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/asn1.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Some doc updates, include the DSA examples in pubkey, remove outdatedlloyd2011-04-201-3/+3
| | | | | and probably useless threads section, also fix compilation of several examples.
* ECC private keys had two different constructors, one taking a grouplloyd2011-04-081-52/+28
| | | | | | | | | | | | | | | | and a random number generator, and the other taking a group and a preset private key value. The DL private keys instead have on constructor for this; if the x value is zero, then a new random key is created. For consistency, do this with ECC as well. ECDH actually didn't have one of these constructors, forcing you to either load from PKCS #8 or else use a random key. Rename EC_Domain_Params to EC_Group, with a typedef for compatability. More doc updates. Update mtn ignores for Sphinx output
* More pubkey doc updateslloyd2011-04-081-0/+312
|
* Convert most of the documentation to reStructured Text, addinglloyd2011-04-041-312/+0
| | | | | | | | | | | | | | | | | | | a makefile to build it with Sphinx (http://sphinx.pocoo.org/). Previously credits.txt listed public domain code sources; instead directly credit the authors in the relevant files and delete that file. Drop the draft FIPS 140 security policy; I can't imagine FIPS 140 validation will ever happen, and if it does, I don't want anything to do with it. Also drop the internals doc, which was so out of date (and incomplete) as to be worthless. Move the tutorials and InSiTo pdfs into old/ for the time being, until anything relevant from them can be filtered out and converted into RST.
* Add copyright and license notes to pretty much every file that didn't have them,lloyd2009-12-311-7/+7
| | | | | | | | including the examples and self-test code. Most of these files had not copyright/license information at all; since a major point of the examples is to allow users to copy and paste code that already does something they want, an ambigious license is not good.
* Add LibraryInitializers to the examples, instead of relying on lazy init.lloyd2009-03-171-0/+2
| | | | Patch from David X Callaway.
* Print the class tag type(s) on constructed formslloyd2008-05-081-0/+9
|
* If the LibraryInitializer is created with just default arguments, don'tlloyd2007-10-071-2/+0
| | | | | | | bother creating it, just let it be initialized lazily when needed. Reindents in encypt.cpp and hash_fd.cpp (indenting the brace after a try statement).
* Always print the exact value of the OID found in the ASN.1 example, evenlloyd2007-03-101-1/+6
| | | | if we found a human readable name for it (in that case we print both).
* Remove the to_lower function; turns out that both uses of itlloyd2006-06-191-1/+3
| | | | | | | | | | | | | | | within the library were to perform case-insensitive matching, so simply implement that instead. Place all of the character set handling functions into a Charset namespace (and update all callers). Remove the iso2local/local2iso/iso2utf/utf2iso functions, replaced by the new charset transcoder stuff. Initialize the transcoder stored in the global library state upon initialization.
* Update some of the examples to reflect the new APIs.lloyd2006-05-191-7/+9
|
* Initial checkin1.5.6lloyd2006-05-181-0/+294