aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples.txt')
-rw-r--r--doc/examples.txt42
1 files changed, 0 insertions, 42 deletions
diff --git a/doc/examples.txt b/doc/examples.txt
deleted file mode 100644
index b9296829a..000000000
--- a/doc/examples.txt
+++ /dev/null
@@ -1,42 +0,0 @@
-
-Examples
-========================================
-
-X.509 Certificate Examples
-----------------------------------------
-
-PKCS #10 Certificate Requests
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-.. literalinclude:: examples/pkcs10.cpp
-
-Self Signed Certificate
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Generate a 2048 bit RSA key, and then create a self-signed X.509v3
-certificate with that key. If the do_CA variable is set to true, then
-it will be marked for CA use, otherwise it will get extensions
-appropriate for use with a client certificate. The private key is
-stored as an encrypted PKCS #8 object in another file.
-
-.. literalinclude:: examples/self_sig.cpp
-
-Certificate Authority
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-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 the new certificate to stdout.
-
-File names are hardcoded for simplicity. The CA certificate is
-expected in "cacert.pem", the private key is expected in
-"caprivate.pem", and "req.pem" is a PKCS #10 certificate request.
-
-.. literalinclude:: examples/ca.cpp
-
-ASN.1 Parsing
-----------------------------------------
-
-This example is a simple ASN.1 parser
-
-.. literalinclude:: examples/asn1.cpp