Install certificate tool

This commit is contained in:
Jakub Melka
2020-11-03 18:46:15 +01:00
parent 78215e89af
commit 290c769cc3
4 changed files with 81 additions and 0 deletions

View File

@@ -143,6 +143,9 @@ struct PDFToolOptions
bool certStoreEnumerateSystemCertificates = false;
bool certStoreEnumerateUserCertificates = true;
// For option 'CertStoreInstall'
QString certificateStoreInstallCertificateFile;
/// Returns page range. If page range is invalid, then \p errorMessage is empty.
/// \param pageCount Page count
/// \param[out] errorMessage Error message
@@ -184,6 +187,7 @@ public:
ErrorUnknown,
ErrorNoDocumentSpecified,
ErrorDocumentReading,
ErrorCertificateReading,
ErrorInvalidArguments,
ErrorFailedWriteToFile,
ErrorPermissions,
@@ -223,6 +227,7 @@ public:
Unite = 0x00080000, ///< Settings for Unite tool
Optimize = 0x00100000, ///< Settings for Optimize tool
CertStore = 0x00200000, ///< Settings for certificate store tool
CertStoreInstall = 0x00400000, ///< Settings for certificate store install certificate tool
};
Q_DECLARE_FLAGS(Options, Option)