diff options
author | lloyd <[email protected]> | 2008-10-01 16:05:14 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-10-01 16:05:14 +0000 |
commit | a3fcea09d61fef223da7fb12dd5a768a982f1c7f (patch) | |
tree | 67b070fd816832d79e6a062a7cbacca1df2b3736 /src/pubkey/pk_lookup/look_pk.h | |
parent | 514c4e35119eca7132ca9ab38cc0de2b701da492 (diff) |
Move look_pk and pk_algs to new module pubkey/pk_lookup
Diffstat (limited to 'src/pubkey/pk_lookup/look_pk.h')
-rw-r--r-- | src/pubkey/pk_lookup/look_pk.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/pubkey/pk_lookup/look_pk.h b/src/pubkey/pk_lookup/look_pk.h new file mode 100644 index 000000000..28a56f2b3 --- /dev/null +++ b/src/pubkey/pk_lookup/look_pk.h @@ -0,0 +1,39 @@ +/************************************************* +* PK Algorithm Lookup Header File * +* (C) 1999-2007 Jack Lloyd * +*************************************************/ + +#ifndef BOTAN_PK_LOOKUP_H__ +#define BOTAN_PK_LOOKUP_H__ + +#include <botan/build.h> +#include <botan/pubkey.h> + +namespace Botan { + +/************************************************* +* Get an PK algorithm object * +*************************************************/ +BOTAN_DLL PK_Encryptor* get_pk_encryptor(const PK_Encrypting_Key&, + const std::string&); + +BOTAN_DLL PK_Decryptor* get_pk_decryptor(const PK_Decrypting_Key&, + const std::string&); + +BOTAN_DLL PK_Signer* get_pk_signer(const PK_Signing_Key&, + const std::string&, + Signature_Format = IEEE_1363); + +BOTAN_DLL PK_Verifier* get_pk_verifier(const PK_Verifying_with_MR_Key&, + const std::string&, + Signature_Format = IEEE_1363); +BOTAN_DLL PK_Verifier* get_pk_verifier(const PK_Verifying_wo_MR_Key&, + const std::string&, + Signature_Format = IEEE_1363); + +BOTAN_DLL PK_Key_Agreement* get_pk_kas(const PK_Key_Agreement_Key&, + const std::string&); + +} + +#endif |