aboutsummaryrefslogtreecommitdiffstats
path: root/include/look_pk.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-05-18 18:33:19 +0000
committerlloyd <[email protected]>2006-05-18 18:33:19 +0000
commita2c99d3270eb73ef2db5704fc54356c6b75096f8 (patch)
treead3d6c4fcc8dd0f403f8105598943616246fe172 /include/look_pk.h
Initial checkin1.5.6
Diffstat (limited to 'include/look_pk.h')
-rw-r--r--include/look_pk.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/include/look_pk.h b/include/look_pk.h
new file mode 100644
index 000000000..2a6901804
--- /dev/null
+++ b/include/look_pk.h
@@ -0,0 +1,33 @@
+/*************************************************
+* PK Algorithm Lookup Header File *
+* (C) 1999-2006 The Botan Project *
+*************************************************/
+
+#ifndef BOTAN_PK_LOOKUP_H__
+#define BOTAN_PK_LOOKUP_H__
+
+#include <botan/pubkey.h>
+
+namespace Botan {
+
+/*************************************************
+* Get an PK algorithm object *
+*************************************************/
+PK_Encryptor* get_pk_encryptor(const PK_Encrypting_Key&, const std::string&);
+PK_Decryptor* get_pk_decryptor(const PK_Decrypting_Key&, const std::string&);
+
+PK_Signer* get_pk_signer(const PK_Signing_Key&, const std::string&,
+ Signature_Format = IEEE_1363);
+
+PK_Verifier* get_pk_verifier(const PK_Verifying_with_MR_Key&,
+ const std::string&,
+ Signature_Format = IEEE_1363);
+PK_Verifier* get_pk_verifier(const PK_Verifying_wo_MR_Key&,
+ const std::string&,
+ Signature_Format = IEEE_1363);
+
+PK_Key_Agreement* get_pk_kas(const PK_Key_Agreement_Key&, const std::string&);
+
+}
+
+#endif