File indexing completed on 2024-06-23 05:13:42
0001 /* commands/importcertificatefrompivcardcommand.h 0002 0003 This file is part of Kleopatra, the KDE keymanager 0004 SPDX-FileCopyrightText: 2020 g10 Code GmbH 0005 SPDX-FileContributor: Ingo Klöcker <dev@ingo-kloecker.de> 0006 0007 SPDX-License-Identifier: GPL-2.0-or-later 0008 */ 0009 0010 #pragma once 0011 0012 #include "cardcommand.h" 0013 0014 namespace Kleo 0015 { 0016 namespace Commands 0017 { 0018 0019 class ImportCertificateFromPIVCardCommand : public CardCommand 0020 { 0021 Q_OBJECT 0022 public: 0023 ImportCertificateFromPIVCardCommand(const std::string &cardSlot, const std::string &serialno); 0024 ~ImportCertificateFromPIVCardCommand() override; 0025 0026 private: 0027 void doStart() override; 0028 void doCancel() override; 0029 0030 private: 0031 class Private; 0032 inline Private *d_func(); 0033 inline const Private *d_func() const; 0034 }; 0035 0036 } 0037 }