Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F34212051
keypairinfo.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
796 B
Subscribers
None
keypairinfo.h
View Options
/* smartcard/keypairinfo.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
<string>
namespace
Kleo
{
namespace
SmartCard
{
struct
KeyPairInfo
{
static
KeyPairInfo
fromStatusLine
(
const
std
::
string
&
s
);
bool
canAuthenticate
()
const
;
bool
canCertify
()
const
;
bool
canEncrypt
()
const
;
bool
canSign
()
const
;
void
update
(
const
KeyPairInfo
&
other
);
bool
operator
==
(
const
KeyPairInfo
&
)
const
=
default
;
std
::
string
keyRef
;
std
::
string
grip
;
std
::
string
usage
;
std
::
string
keyTime
;
std
::
string
algorithm
;
};
}
// namespace Smartcard
}
// namespace Kleopatra
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Fri, Dec 19, 3:28 AM (1 d, 9 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
41/bb/858e7aca41dcfc6bba97da13746a
Attached To
rKLEOPATRA Kleopatra
Event Timeline
Log In to Comment