diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-01-17 11:51:54 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-01-17 11:51:54 +0000 |
commit | f90c9ac1027b8fa759203fc0b19ec329c2d4bbbf (patch) | |
tree | f3c955f2a1a93d98a540dd8688f554adb022faee | |
parent | start on keydetailsdialog (diff) | |
download | gpg4usb-f90c9ac1027b8fa759203fc0b19ec329c2d4bbbf.tar.gz gpg4usb-f90c9ac1027b8fa759203fc0b19ec329c2d4bbbf.zip |
added some more key properties
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@243 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r-- | keydetailsdialog.cpp | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/keydetailsdialog.cpp b/keydetailsdialog.cpp index a29f38b..2302b97 100644 --- a/keydetailsdialog.cpp +++ b/keydetailsdialog.cpp @@ -24,12 +24,24 @@ KeyDetailsDialog::KeyDetailsDialog(gpgme_key_t key) { - setWindowTitle(tr("Encrypt / Decrypt File")); + setWindowTitle(tr("Key Properties")); resize(500, 200); setModal(true); if (key->uids && key->uids->name) - qDebug() << key->uids->name; + qDebug() << "Name:" << key->uids->name; + qDebug() << "E-Mail: " << key ->uids->email; + qDebug() << "Komentar: " << key ->uids->comment; + qDebug() << "Fingerprint:" << key ->subkeys->fpr; + qDebug() << "Key-Length:" << key ->subkeys->length <<" bit"; + qDebug() << "creation date timestamp: " << key->subkeys->timestamp; + qDebug() << "is secret: " << key ->secret; + qDebug() << "can sign: " <<key ->can_sign; + qDebug() << "can encrypt: " <<key ->can_encrypt; + qDebug() << "expires: " << key-> expired; + qDebug() << "can authenticate: " <<key ->can_authenticate; + qDebug() << "protocol: " << gpgme_get_protocol_name(key->protocol); + qDebug() << "algo: " << gpgme_pubkey_algo_name(key->subkeys->pubkey_algo); exec(); } |