Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F36622805
addsubkeydialog.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
1006 B
Subscribers
None
addsubkeydialog.h
View Options
/*
SPDX-FileCopyrightText: 2023 g10 Code GmbH
SPDX-FileContributor: Tobias Fella <tobias.fella@gnupg.com>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include
<Libkleo/KeyUsage>
#include
<QDialog>
#include
<gpgme++/key.h>
#include
<memory.h>
namespace
Kleo
{
namespace
Dialogs
{
class
AddSubkeyDialog
:
public
QDialog
{
Q_OBJECT
public
:
explicit
AddSubkeyDialog
(
const
GpgME
::
Key
&
parent
,
QWidget
*
p
=
nullptr
);
~
AddSubkeyDialog
()
override
;
KeyUsage
usage
()
const
;
QString
algo
()
const
;
QDate
expires
()
const
;
private
:
class
Private
;
std
::
unique_ptr
<
Private
>
d
;
void
fillKeySizeComboBoxes
();
bool
unlimitedValidityIsAllowed
()
const
;
void
setKeyType
(
const
QString
&
algorithm
);
void
loadDefaults
();
void
loadDefaultKeyType
();
void
setExpiryDate
(
QDate
date
);
QDate
forceDateIntoAllowedRange
(
QDate
date
)
const
;
void
loadAlgorithms
();
void
replaceEntry
(
const
QString
&
before
,
const
QString
&
after
);
};
}
}
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Thu, Feb 26, 6:25 PM (2 h, 12 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b8/0b/8cee4dda92f3348dbc40fda92312
Attached To
rKLEOPATRA Kleopatra
Event Timeline
Log In to Comment