File indexing completed on 2024-06-09 05:17:17

0001 /*
0002     kleo/expirycheckerconfig.h
0003 
0004     This file is part of libkleopatra, the KDE keymanagement library
0005     SPDX-FileCopyrightText: 2023 g10 Code GmbH
0006     SPDX-FileContributor: Ingo Klöcker <dev@ingo-kloecker.de>
0007 
0008     SPDX-License-Identifier: GPL-2.0-or-later
0009 */
0010 
0011 #pragma once
0012 
0013 #include "kleo_export.h"
0014 
0015 #ifdef KPim6Libkleo_EXPORTS
0016 #include <expirycheckerconfigbase.h>
0017 #else
0018 #include <libkleo/expirycheckerconfigbase.h>
0019 #endif
0020 
0021 namespace Kleo
0022 {
0023 
0024 class ExpiryCheckerSettings;
0025 
0026 class KLEO_EXPORT ExpiryCheckerConfig : public Kleo::ExpiryCheckerConfigBase
0027 {
0028 public:
0029     using ExpiryCheckerConfigBase::ExpiryCheckerConfigBase;
0030 
0031     ExpiryCheckerSettings settings() const;
0032 
0033     const KConfigSkeletonItem *ownKeyThresholdInDaysItem() const;
0034     const KConfigSkeletonItem *otherKeyThresholdInDaysItem() const;
0035     const KConfigSkeletonItem *rootCertificateThresholdInDaysItem() const;
0036     const KConfigSkeletonItem *intermediateCertificateThresholdInDaysItem() const;
0037 };
0038 
0039 }