aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/ca.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-12-31 03:43:02 +0000
committerlloyd <[email protected]>2009-12-31 03:43:02 +0000
commit811fed1957f284456e1455032f729e74c4fed458 (patch)
treea0cfed4f7ff52149db0ff091f8670351fadeea29 /doc/examples/ca.cpp
parentcf6319e4e663f4214a0f9e1509087a58a181910f (diff)
Add copyright and license notes to pretty much every file that didn't have them,
including the examples and self-test code. Most of these files had not copyright/license information at all; since a major point of the examples is to allow users to copy and paste code that already does something they want, an ambigious license is not good.
Diffstat (limited to 'doc/examples/ca.cpp')
-rw-r--r--doc/examples/ca.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/examples/ca.cpp b/doc/examples/ca.cpp
index f5eccdde9..8dd3e981f 100644
--- a/doc/examples/ca.cpp
+++ b/doc/examples/ca.cpp
@@ -1,4 +1,10 @@
/*
+* (C) 2009 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
+*/
+
+/*
Implement the functionality of a simple CA: read in a CA certificate,
the associated private key, and a PKCS #10 certificate request. Sign the
request and print out the new certificate.
@@ -7,10 +13,6 @@
cacert.pem: The CA's certificate (perhaps created by self_sig)
caprivate.pem: The CA's private key
req.pem: The user's PKCS #10 certificate request
-
- Written by Jack Lloyd, May 19, 2003
-
- This file is in the public domain.
*/
#include <botan/botan.h>