cpp: Add API for gpgme_addrspec_from_uid
authorAndre Heinecke <aheinecke@intevation.de>
Tue, 11 Oct 2016 12:13:15 +0000 (14:13 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Tue, 11 Oct 2016 12:13:15 +0000 (14:13 +0200)
commit54f94b14e2bb9b38ffd89f509406bfbd012da632
treef187604b38e6117b419abaab3a0e45f17349f99b
parente7ceb83a5969581f5e1b0b6a69d18a93b594f6d4
cpp: Add API for gpgme_addrspec_from_uid

* lang/cpp/src/key.cpp (UserID::addrSpecFromString): New static
function to expose addrspec from uid.
(UserID::addrSpec): New. Get addrSpec from Userid.
* NEWS: Update accordingly.
NEWS
lang/cpp/src/key.cpp
lang/cpp/src/key.h