Libkleo
11#include <config-libkleo.h>
13#include "expirycheckerconfig.h"
15#include "expirycheckersettings.h"
19ExpiryCheckerSettings ExpiryCheckerConfig::settings()
const
21 using days = Kleo::chrono::days;
22 return ExpiryCheckerSettings{days{ownKeyThresholdInDays()},
23 days{otherKeyThresholdInDays()},
24 days{rootCertificateThresholdInDays()},
25 days{intermediateCertificateThresholdInDays()}};
28const KConfigSkeletonItem *ExpiryCheckerConfig::ownKeyThresholdInDaysItem()
const
30 return findItem(QStringLiteral(
"ownKeyThresholdInDays"));
33const KConfigSkeletonItem *ExpiryCheckerConfig::otherKeyThresholdInDaysItem()
const
35 return findItem(QStringLiteral(
"otherKeyThresholdInDays"));
38const KConfigSkeletonItem *ExpiryCheckerConfig::rootCertificateThresholdInDaysItem()
const
40 return findItem(QStringLiteral(
"rootCertificateThresholdInDays"));
43const KConfigSkeletonItem *ExpiryCheckerConfig::intermediateCertificateThresholdInDaysItem()
const
45 return findItem(QStringLiteral(
"intermediateCertificateThresholdInDays"));
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:11 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.