summaryrefslogtreecommitdiff
path: root/doc/tex/examples.tex
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tex/examples.tex')
-rw-r--r--doc/tex/examples.tex21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/tex/examples.tex b/doc/tex/examples.tex
index 940b2b66b7..5b642a1357 100644
--- a/doc/tex/examples.tex
+++ b/doc/tex/examples.tex
@@ -95,4 +95,25 @@ This is a function that checks if an alert has been received
in the current session.
\input{ex-alert}
+\subsection{X.509 certificate parsing example}
+\label{ex:x509-info}
+To demonstrate the X.509 parsing capabilities an example program is listed below.
+That program reads the peer's certificate, and prints information about it.
+\input{ex-x509-info}
+
+\subsection{Certificate request generation}
+\label{ex:crq}
+The following example is about generating a certificate request, and
+a private key. A certificate request can be later be processed by a CA,
+which should return a signed certificate.
+
+\subsection{PKCS \#12 structure generation}
+\label{ex:pkcs12}
+The following example is about generating a PKCS \#12 structure.
+
+\input{ex-pkcs12}
+
+\input{ex-crq}
+
+
\input{openssl}