diff options
Diffstat (limited to 'include/gpg/GpgGenKeyInfo.h')
-rw-r--r-- | include/gpg/GpgGenKeyInfo.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/gpg/GpgGenKeyInfo.h b/include/gpg/GpgGenKeyInfo.h new file mode 100644 index 00000000..397123d9 --- /dev/null +++ b/include/gpg/GpgGenKeyInfo.h @@ -0,0 +1,23 @@ +// +// Created by eric on 2021/5/13. +// + +#ifndef GPG4USB_GPGGENKEYINFO_H +#define GPG4USB_GPGGENKEYINFO_H + +#include <QString> +#include <QTime> + +struct GenKeyInfo { + bool isSubKey = false; + QString userid; + QString algo; + int keySize; + QDateTime expired; + bool nonExpired = false; + bool allowSigning = true; + bool allowEncryption = true; + QString passPhrase; +}; + +#endif //GPG4USB_GPGGENKEYINFO_H |