aboutsummaryrefslogtreecommitdiffstats
path: root/src/apps/apps.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-01-01 23:32:24 +0000
committerlloyd <[email protected]>2014-01-01 23:32:24 +0000
commit7323f3ff83ff2199b1090f9d5f729b08ccac3151 (patch)
tree84edcf72e8837ac328aae505f5059c95f4e459a5 /src/apps/apps.h
parent0c7008498790caea563ed3601df1943f8f7b6269 (diff)
Move base64, bzip, ca, and tls examples
Diffstat (limited to 'src/apps/apps.h')
-rw-r--r--src/apps/apps.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/apps/apps.h b/src/apps/apps.h
new file mode 100644
index 000000000..babbea080
--- /dev/null
+++ b/src/apps/apps.h
@@ -0,0 +1,25 @@
+
+#include "../common.h"
+#include <botan/auto_rng.h>
+#include <botan/hex.h>
+#include <iostream>
+
+using namespace Botan;
+
+#define DEFINE_EXAMPLE(cmd) int cmd (int argc, char* argv[]);
+
+DEFINE_EXAMPLE(asn1);
+DEFINE_EXAMPLE(bcrypt);
+DEFINE_EXAMPLE(bzip);
+DEFINE_EXAMPLE(base64);
+DEFINE_EXAMPLE(ca);
+DEFINE_EXAMPLE(factor);
+DEFINE_EXAMPLE(fpe);
+DEFINE_EXAMPLE(hash);
+DEFINE_EXAMPLE(keygen);
+DEFINE_EXAMPLE(pkcs10);
+DEFINE_EXAMPLE(read_ssh);
+DEFINE_EXAMPLE(self_sig);
+DEFINE_EXAMPLE(tls_client);
+DEFINE_EXAMPLE(tls_server);
+DEFINE_EXAMPLE(x509);