Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F34668369
certmanager.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
1 KB
Subscribers
None
certmanager.h
View Options
#ifndef _CERTMANAGER_H_
#define _CERTMANAGER_H_
#include
<kmainwindow.h>
#include
<cryptplugwrapper.h>
class
CertBox
;
class
KProcess
;
class
CertItem
;
class
KToolBar
;
class
CertManager
:
public
KMainWindow
{
Q_OBJECT
public
:
CertManager
(
bool
remote
=
false
,
const
QString
&
query
=
QString
::
null
,
QWidget
*
parent
=
0
,
const
char
*
name
=
0
);
const
CryptPlugWrapper
::
CertificateInfoList
&
certList
()
const
{
return
_certList
;
}
bool
isRemote
()
const
{
return
_remote
;
}
int
importCertificateWithFingerprint
(
const
QString
&
fingerprint
);
bool
haveCertificate
(
const
QString
&
fingerprint
);
protected
slots
:
void
loadCertificates
();
void
newCertificate
();
void
quit
();
void
revokeCertificate
();
void
extendCertificate
();
void
importCertFromFile
();
void
importCRLFromFile
();
void
importCRLFromLDAP
();
void
slotGPGSMExited
();
void
slotDirmngrExited
();
void
slotStderr
(
KProcess
*
,
char
*
,
int
);
void
slotToggleRemote
(
int
idx
);
private
:
bool
checkExec
(
const
QStringList
&
args
);
CertItem
*
fillInOneItem
(
CertBox
*
lv
,
CertItem
*
parent
,
const
CryptPlugWrapper
::
CertificateInfo
&
info
);
CryptPlugWrapper
::
CertificateInfoList
_certList
;
KProcess
*
gpgsmProc
;
KProcess
*
dirmngrProc
;
QString
errorbuffer
;
KToolBar
*
_toolbar
;
CertBox
*
_certBox
;
bool
_remote
;
};
#endif
// _CERTMANAGER_H_
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Thu, Jan 22, 9:37 PM (1 d, 21 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
67/40/ea209074a3f43bf4d0097c42a812
Attached To
rKLEOPATRA Kleopatra
Event Timeline
Log In to Comment