Cpp: Add PubkeyAlgo enum
authorAndre Heinecke <aheinecke@intevation.de>
Wed, 6 Jul 2016 11:38:20 +0000 (13:38 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Wed, 6 Jul 2016 11:38:20 +0000 (13:38 +0200)
commitc28007d0407bcc3621b8266d6d77eb0d069aec35
tree494476b8f9577e2648bd0e6cb9f3bfb8319c2f76
parent4934893e27a50f5715dcd4d2907ecbe629921b32
Cpp: Add PubkeyAlgo enum

* lang/cpp/src/key.h (Subkey::PubkeyAlgo): New enum.
(Subkey::publicKeyAlgorithm): Change return type.
* lang/cpp/src/key.cpp (Subkey::publicKeyAlgorithm): Use enum.
lang/cpp/src/key.cpp
lang/cpp/src/key.h