aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/pkcs10.cpp
Commit message (Collapse)AuthorAgeFilesLines
* In creating X.509 certificates and PKCS #10 requests, let (actually: require)lloyd2009-11-091-1/+1
| | | | | | | the user to specify the hash function to use, instead of always using SHA-1. This was a sensible default a few years ago, when there wasn't a ~2^60 attack on SHA-1 and support for SHA-2 was pretty much nil, but using something else makes a lot more sense these days.
* Add LibraryInitializers to the examples, instead of relying on lazy init.lloyd2009-03-171-0/+2
| | | | Patch from David X Callaway.
* Move rng.{cpp,h} from core to rng/ topdirlloyd2008-10-261-5/+5
| | | | | | | | | | | | | | Add a new class AutoSeeded_RNG that is a RandomNumberGenerator that wraps up the logic formerly in RandomNumberGenerator::make_rng. make_rng in fact now just returns a new AutoSeeded_RNG object. AutoSeeded_RNG is a bit more convenient because - No need to use auto_ptr - No need to dereference (same syntax everywhere - it's an underestimated advantage imo) Also move the code from timer/timer_base to timer/
* Fix the DSA examples. Reindent.lloyd2008-06-281-1/+3
|
* Update pkcs10, passhash exampleslloyd2008-06-271-4/+4
|
* Add missing headers in the example problems, noticed while compiling underlloyd2008-06-111-0/+1
| | | | GCC 4.3. Missing <memory> for auto_ptr and <cstdlib> for atoi
* Avoid using the global RNG in check_key, instead pass a reference.lloyd2008-05-241-2/+4
| | | | Update the examples
* 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).
* Initial checkin1.5.6lloyd2006-05-181-0/+68