aboutsummaryrefslogtreecommitdiffstats
path: root/include/pubkey.h
Commit message (Collapse)AuthorAgeFilesLines
* Move what is left of the uncategorized library to 'core'. There is stilllloyd2008-09-291-210/+0
| | | | | a lot of public key stuff in here that needs to be extracted however, and probably 2-3 other modules worth of stuff to split off (engines, etc)
* Add a patch sent by Tim Burris <[email protected]> adding private operator= lloyd2008-09-171-0/+24
| | | | | | | | | | | | declarations to class declarations that do not support copying (for instance because of const members). Apparently at /W4 Visual C++ warns unless this is the case, and it seems reasonably good practice to disable copying on most of these objects anyway due to pointer and reference aliasing. Instead of adding an operator= to User_Interface, I made the member preset_passphrase non-const. This seemed like a cleaner solution to me. (It may also be the cleaner solution in the pubkey code)
* Change PK_Signer::signature to take a RandomNumberGenerator referencelloyd2008-06-101-3/+5
| | | | instead of always using the global PRNG.
* PK_Encryptor::encrypt now takes a RandomNumberGenerator reference, insteadlloyd2008-06-101-4/+10
| | | | of using the global RNG object.
* Move Signature_Format enum to pubkey.hlloyd2008-04-291-0/+2
| | | | | | | | Including enums.h in needed places since asn1_int.h doesn't pull it in anymore. Remove Config::choose_sig_format, and move its logic into its only caller, the (global!) choose_sig_format in x509_ca.cpp
* Add BOTAN_DLL macro in all needed spots for working DLL export. Basedlloyd2008-04-211-9/+9
| | | | | | | | | | | | on a patch from Joel Low for MSVC, modified and tested with GCC using -fvisibility=hidden and the visibility attribute. Getting this working completely requires making the shared object and static lib builds completely distinct (which is also a win since it allows avoiding -fPIC usage, etc in the static lib). Currently too many things are being exported, though it is an improvement as internal-only code like the bigint_* functions are hidden.
* Change the copyrights in all files in the Botan tree to directly reflectlloyd2008-04-101-1/+1
| | | | | | the actual copyright holders. For rationale, see my post to botan-devel on April 9, subject 'Changing license to directly reflect contributors' (http://www.randombit.net/pipermail/botan-devel/2008-April/000527.html)
* Mostly revert 2f4fd18182d5a75c40cd831e7ee3c314be5c57d6, only keep thelloyd2008-03-101-1/+1
| | | | | updated dates on files that have actually changed this year. This makes the diff across versions readable again.
* Mass update of the copyright date. Honestly I don't know why I bother,lloyd2008-02-141-1/+1
| | | | | | | but might as well keep it up to date. And it's easier to do it once with a 'perl -pi' command than to update each file over time. Apologies to anyone looking at diffs.
* Bump copyright year to 2007lloyd2007-01-201-1/+1
|
* PK_Verifier no longer keeps a reference to the key being used; it onlylloyd2006-09-061-4/+11
| | | | | ever needed it to pull a few pieces of information from the key, which it now gets by calling pure virtual functions implemented by its children.
* Initial checkin1.5.6lloyd2006-05-181-0/+169