aboutsummaryrefslogtreecommitdiffstats
path: root/src/pbe/pbe_base
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-10-13 03:25:34 +0000
committerlloyd <[email protected]>2008-10-13 03:25:34 +0000
commit0c06b8db8e812cb3fe9c9563542aeb9f3f5acf71 (patch)
tree2281c58628502db433987c107f996892750cb197 /src/pbe/pbe_base
parent0df372dca67a2b9f77e32e9d393a825a61a7ff70 (diff)
More Doxygen comments from InSiTo
Diffstat (limited to 'src/pbe/pbe_base')
-rw-r--r--src/pbe/pbe_base/get_pbe.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/pbe/pbe_base/get_pbe.h b/src/pbe/pbe_base/get_pbe.h
index e7b434c1f..830dbb29f 100644
--- a/src/pbe/pbe_base/get_pbe.h
+++ b/src/pbe/pbe_base/get_pbe.h
@@ -11,10 +11,19 @@
namespace Botan {
-/*************************************************
-* Get a PBE object *
-*************************************************/
+/**
+* Factory function for PBEs.
+* @param pbe_name the name of the PBE algorithm to retrieve
+* @return a PBE with randomly created parameters
+*/
BOTAN_DLL PBE* get_pbe(const std::string&);
+
+/**
+* Factory function for PBEs.
+* @param pbe_oid the oid of the desired PBE
+* @param params a DataSource providing the DER encoded parameters to use
+* @return the PBE with the specified parameters
+*/
BOTAN_DLL PBE* get_pbe(const OID&, DataSource&);
}