diff options
author | Andre Heinecke <[email protected]> | 2016-11-01 17:28:20 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2016-11-01 17:28:20 +0000 |
commit | 627c5deed84b4481710b6c0de06b26e886679bbe (patch) | |
tree | 4fef4a42fdb13fc4c852559e7e5377ac95d0f106 /lang/qt/src/Makefile.am | |
parent | qt, cpp: Install version headers in subdirs (diff) | |
download | gpgme-627c5deed84b4481710b6c0de06b26e886679bbe.tar.gz gpgme-627c5deed84b4481710b6c0de06b26e886679bbe.zip |
qt: Add Distinguished Name parser from libkleo
* lang/qt/src/dn.cpp (DN, DN::Attribute): New public API.
* lang/qt/src/dn.h: New.
* lang/qt/src/Makefile.am: Update accordingly.
--
This is a general useful API to work with X509 distinguished
names and is useful when doing CMS with GpgME.
Adding this class from libkleo allows kmails messagelib to
avoid any KDE UI Frameworks and so can be used more versatile
in the future.
This class can be combined with libkleos DNAttributeMapper
to have the same bevavior as before in libkleo when using
DN::prettyDN calls can be converted from:
Kleo::DN(uid).prettyDN();
to:
QGpgME::DN dn(uid);
uid.setAttributeOrder(
Kleo::DNAttributeMapper::instance()->attributeOrder());
dn.prettyDN();
Diffstat (limited to 'lang/qt/src/Makefile.am')
-rw-r--r-- | lang/qt/src/Makefile.am | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/qt/src/Makefile.am b/lang/qt/src/Makefile.am index f7610fd6..0dd18fe7 100644 --- a/lang/qt/src/Makefile.am +++ b/lang/qt/src/Makefile.am @@ -35,7 +35,8 @@ qgpgme_sources = \ qgpgmeverifyopaquejob.cpp threadedjobmixin.cpp \ qgpgmekeyformailboxjob.cpp gpgme_backend_debug.cpp \ qgpgmetofupolicyjob.cpp \ - defaultkeygenerationjob.cpp qgpgmewkspublishjob.cpp + defaultkeygenerationjob.cpp qgpgmewkspublishjob.cpp \ + dn.cpp # If you add one here make sure that you also add one in camelcase qgpgme_headers= \ @@ -73,7 +74,8 @@ qgpgme_headers= \ verifydetachedjob.h \ defaultkeygenerationjob.h \ tofupolicyjob.h \ - wkspublishjob.h + wkspublishjob.h \ + dn.h camelcase_headers= \ AddUserIDJob \ @@ -84,6 +86,7 @@ camelcase_headers= \ DataProvider \ DecryptJob \ DecryptVerifyJob \ + DN \ DownloadJob \ EncryptJob \ ExportJob \ |