aboutsummaryrefslogtreecommitdiffstats
path: root/include/pk_algs.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/pk_algs.h
Initial checkin1.5.6
Diffstat (limited to 'include/pk_algs.h')
-rw-r--r--include/pk_algs.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/pk_algs.h b/include/pk_algs.h
new file mode 100644
index 000000000..f4ac9ae79
--- /dev/null
+++ b/include/pk_algs.h
@@ -0,0 +1,22 @@
+/*************************************************
+* PK Key Factory Header File *
+* (C) 1999-2006 The Botan Project *
+*************************************************/
+
+#ifndef BOTAN_PK_KEY_FACTORY_H__
+#define BOTAN_PK_KEY_FACTORY_H__
+
+#include <botan/x509_key.h>
+#include <botan/pkcs8.h>
+
+namespace Botan {
+
+/*************************************************
+* Get an PK key object *
+*************************************************/
+X509_PublicKey* get_public_key(const std::string&);
+PKCS8_PrivateKey* get_private_key(const std::string&);
+
+}
+
+#endif