File indexing completed on 2024-06-23 05:14:15

0001 /* -*- mode: c++; c-basic-offset:4 -*-
0002     utils/emptypassphraseprovider.h
0003 
0004     This file is part of Kleopatra, the KDE keymanager
0005     SPDX-FileCopyrightText: 2008 Klarälvdalens Datakonsult AB
0006     SPDX-FileCopyrightText: 2016, 2017 Bundesamt für Sicherheit in der Informationstechnik
0007     SPDX-FileContributor: Intevation GmbH
0008 
0009     SPDX-License-Identifier: GPL-2.0-or-later
0010 */
0011 
0012 #pragma once
0013 
0014 #include <gpgme++/interfaces/passphraseprovider.h>
0015 
0016 class EmptyPassphraseProvider : public GpgME::PassphraseProvider
0017 {
0018 public:
0019     char *getPassphrase(const char *useridHint, const char *description, bool previousWasBad, bool &canceled) override;
0020 };