aboutsummaryrefslogtreecommitdiffstats
path: root/doc/pubkey.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/pubkey.txt')
-rw-r--r--doc/pubkey.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/pubkey.txt b/doc/pubkey.txt
index f48f28340..fe24c719b 100644
--- a/doc/pubkey.txt
+++ b/doc/pubkey.txt
@@ -458,6 +458,14 @@ For DSA, ECDSA, GOST-34.11, and Nyberg-Rueppel, you should use
EMSA1. None of the other encoding methods are particularly useful for
these algorithms.
+Here is an example of DSA signature generation
+
+.. literalinclude:: examples/dsa_sign.cpp
+
+Here is an example that verifies DSA signatures
+
+.. literalinclude:: examples/dsa_ver.cpp
+
Key Agreement
---------------------------------