diff options
author | lloyd <[email protected]> | 2008-10-11 18:54:31 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-10-11 18:54:31 +0000 |
commit | 2d65dea76a3605683798ee6c91cd5252543a9f62 (patch) | |
tree | 12fce988f83f2307960f11f5d16c9a1e89d6a584 /doc/examples/ecdsa.cpp | |
parent | 45406779275e53bc2d6a3bc13a8241195f2a85c1 (diff) |
Print generated public key in ECDSA example
Diffstat (limited to 'doc/examples/ecdsa.cpp')
-rw-r--r-- | doc/examples/ecdsa.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/examples/ecdsa.cpp b/doc/examples/ecdsa.cpp index f4673e185..bd40e897b 100644 --- a/doc/examples/ecdsa.cpp +++ b/doc/examples/ecdsa.cpp @@ -19,6 +19,8 @@ int main() std::cout << params.get_order() << "\n"; ECDSA_PrivateKey ecdsa(*rng, params); + + std::cout << X509::PEM_encode(ecdsa); } catch(std::exception& e) { |