summaryrefslogtreecommitdiffstats
path: root/botan/src/pubkey/pk_algs.h
diff options
context:
space:
mode:
Diffstat (limited to 'botan/src/pubkey/pk_algs.h')
-rw-r--r--botan/src/pubkey/pk_algs.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/botan/src/pubkey/pk_algs.h b/botan/src/pubkey/pk_algs.h
new file mode 100644
index 0000000..c41bf1a
--- /dev/null
+++ b/botan/src/pubkey/pk_algs.h
@@ -0,0 +1,31 @@
+/*
+* PK Key Factory
+* (C) 1999-2007 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
+*/
+
+#ifndef BOTAN_PK_KEY_FACTORY_H__
+#define BOTAN_PK_KEY_FACTORY_H__
+
+#include <botan/pk_keys.h>
+
+namespace Botan {
+
+/**
+* Get an empty public key object.
+* @param name the name of the desired public key algorithm
+* @return the public key object
+*/
+BOTAN_DLL Public_Key* get_public_key(const std::string&);
+
+/**
+* Get an empty private key object.
+* @param name the name of the desired public key algorithm
+* @return the private key object
+*/
+BOTAN_DLL Private_Key* get_private_key(const std::string&);
+
+}
+
+#endif