diff options
Diffstat (limited to 'doc/examples/dsa_kgen.cpp')
-rw-r--r-- | doc/examples/dsa_kgen.cpp | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/doc/examples/dsa_kgen.cpp b/doc/examples/dsa_kgen.cpp index e949ae54a..fe3157370 100644 --- a/doc/examples/dsa_kgen.cpp +++ b/doc/examples/dsa_kgen.cpp @@ -2,22 +2,10 @@ * (C) 2009 Jack Lloyd * * Distributed under the terms of the Botan license -*/ - - -/** -Generate a 1024 bit DSA key and put it into a file. The public key -format is that specified by X.509, while the private key format is -PKCS #8. - -The domain parameters are the ones specified as the Java default DSA -parameters. There is nothing special about these, it's just the only -1024-bit DSA parameter set that's included in Botan at the time of -this writing. The application always reads/writes all of the domain -parameters to/from the file, so a new set could be used without any -problems. We could generate a new set for each key, or read a set of -DSA params from a file and use those, but they mostly seem like -needless complications. +* +* Generate a 1024 bit DSA key and put it into a file. The public key +* format is that specified by X.509, while the private key format is +* PKCS #8. */ #include <iostream> |