aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/pk_lookup
diff options
context:
space:
mode:
Diffstat (limited to 'src/pubkey/pk_lookup')
-rw-r--r--src/pubkey/pk_lookup/pk_algs.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/pubkey/pk_lookup/pk_algs.h b/src/pubkey/pk_lookup/pk_algs.h
index a8fa5f176..2bb9a546e 100644
--- a/src/pubkey/pk_lookup/pk_algs.h
+++ b/src/pubkey/pk_lookup/pk_algs.h
@@ -11,10 +11,18 @@
namespace Botan {
-/*************************************************
-* Get an PK key object *
-*************************************************/
+/**
+* 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&);
}