diff options
author | Ingo Klöcker <[email protected]> | 2022-10-24 10:21:41 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2022-10-24 10:22:09 +0000 |
commit | d9ac1385950217893be6f0d6fdb3324b8647d16b (patch) | |
tree | aaa3699a5799c2864376a4f629d6fd0c67497e68 /lang/python/doc/src | |
parent | build: Update gpg-error.m4. (diff) | |
download | gpgme-d9ac1385950217893be6f0d6fdb3324b8647d16b.tar.gz gpgme-d9ac1385950217893be6f0d6fdb3324b8647d16b.zip |
cpp: Allow setting the curve to use when generating ECC keys
lang/cpp/src/gpggencardkeyinteractor.h (class GpgGenCardKeyInteractor):
Add enum Curve. Add member function setCurve.
lang/cpp/src/gpggencardkeyinteractor.cpp
(class GpgGenCardKeyInteractor::Private): Initialize simple members
in-class. Add member curve.
(GpgGenCardKeyInteractor::~GpgGenCardKeyInteractor): Use default d'tor.
(GpgGenCardKeyInteractor::setCurve): New.
(GpgGenCardKeyInteractor::action): Return curve defaulting to
Curve25519.
--
This enables users of this interactor to request the generation of
ECC keys with a specific curve as smart card keys. It's up to the user
to specify a curve that is actually supported by the smart card.
GnuPG-bug-id: 4429
Diffstat (limited to 'lang/python/doc/src')
0 files changed, 0 insertions, 0 deletions