Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F34140193
utils.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
898 B
Subscribers
None
utils.h
View Options
/* smartcard/utils.h
This file is part of Kleopatra, the KDE keymanager
SPDX-FileCopyrightText: 2020 g10 Code GmbH
SPDX-FileContributor: Ingo Klöcker <dev@ingo-kloecker.de>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include
<memory>
#include
<string>
#include
<vector>
class
QString
;
namespace
Kleo
{
namespace
SmartCard
{
struct
AlgorithmInfo
;
class
OpenPGPCard
;
QString
displayAppName
(
const
std
::
string
&
appName
);
/**
* Returns the subset of algorithms \p supportedAlgorithms that are compliant.
*/
std
::
vector
<
AlgorithmInfo
>
getAllowedAlgorithms
(
const
std
::
vector
<
AlgorithmInfo
>
&
supportedAlgorithms
);
/**
* Returns the ID of the algorithm in the list \p candidates that is preferred
* over the other candidates.
*/
std
::
string
getPreferredAlgorithm
(
const
std
::
vector
<
AlgorithmInfo
>
&
candidates
);
}
// namespace Smartcard
}
// namespace Kleopatra
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Tue, Dec 9, 12:56 AM (3 h, 53 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
9a/5c/6ecd2cfd3a01246bd7103495bcfa
Attached To
rKLEOPATRA Kleopatra
Event Timeline
Log In to Comment