Changeset View
Changeset View
Standalone View
Standalone View
lang/qt/src/qgpgmequickjob.cpp
| Context not available. | |||||
| auto err = ctx->createKey(uid.toUtf8().constData(), | auto err = ctx->createKey(uid.toUtf8().constData(), | ||||
| algo, | algo, | ||||
| 0, | 0, | ||||
| expires.isValid() ? (unsigned long) (expires.toMSecsSinceEpoch() / 1000) : 0, | expires.isValid() ? (unsigned long) (expires.toMSecsSinceEpoch() / 1000 | ||||
| - QDateTime::currentSecsSinceEpoch()) : 0, | |||||
| key, | key, | ||||
| flags); | flags); | ||||
| return std::make_tuple(err, QString(), Error()); | return std::make_tuple(err, QString(), Error()); | ||||
| Context not available. | |||||
| unsigned int flags) | unsigned int flags) | ||||
| { | { | ||||
| auto err = ctx->createSubkey(key, algo, 0, | auto err = ctx->createSubkey(key, algo, 0, | ||||
| expires.isValid() ? (unsigned long) (expires.toMSecsSinceEpoch() / 1000): 0, | expires.isValid() ? (unsigned long) (expires.toMSecsSinceEpoch() / 1000 | ||||
| - QDateTime::currentSecsSinceEpoch()): 0, | |||||
| flags); | flags); | ||||
| return std::make_tuple(err, QString(), Error()); | return std::make_tuple(err, QString(), Error()); | ||||
| } | } | ||||
| Context not available. | |||||