kgpg
kgpgsigntransactionhelper.cpp
Go to the documentation of this file.
19 KGpgSignTransactionHelper::KGpgSignTransactionHelper(const QString &signer, const bool local, const carefulCheck checking)
int getSuccess() const
get the success value that will be returned with the done signal
Definition: kgpgtransaction.cpp:442
the line was parsed successfully and transaction can continue
Definition: kgpgsigntransactionhelper.h:33
void write(const QByteArray &a, const bool lf=true)
write data to standard input of gpg process
Definition: kgpgtransaction.cpp:413
virtual KGpgTransaction * asTransaction()=0
returns the transaction object to use
void setChecking(const carefulCheck level)
set the level how carefully the identity was checked
Definition: kgpgsigntransactionhelper.cpp:110
carefulCheck getChecking(void) const
check if local signing is requested
Definition: kgpgsigntransactionhelper.cpp:116
QString getSigner(void) const
get key id which is used to sign
Definition: kgpgsigntransactionhelper.cpp:130
void replaceArgument(const int pos, const QString &arg)
replace the argument at the given position
Definition: kgpgtransaction.cpp:582
bool getLocal(void) const
check if local signing is requested
Definition: kgpgsigntransactionhelper.cpp:104
void setLocal(const bool local)
set if the signature should be local (not exportable)
Definition: kgpgsigntransactionhelper.cpp:91
void insertArguments(const int pos, const QStringList &args)
insert arguments at the given position
Definition: kgpgtransaction.cpp:599
lineParseResults nextLine(const QString &line)
handle signing commands from GnuPG
Definition: kgpgsigntransactionhelper.cpp:45
user id is alredy signed by given key
Definition: kgpgsigntransactionhelper.h:46
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
KGpgTransaction::ts_boolanswer boolQuestion(const QString &line)
Definition: kgpgsigntransactionhelper.cpp:69
unexpected sequence of GnuPG messages
Definition: kgpgtransaction.h:62
the question is not supported (this is an error)
Definition: kgpgtransaction.h:74
void setKey(const KGpgKeyNode *node)
set key node this transaction is using
Definition: kgpgsigntransactionhelper.cpp:33
virtual void replaceCmd(const QString &cmd)=0
replaces the command passed to GnuPG
bool contains(QChar ch, Qt::CaseSensitivity cs) const
const KGpgKeyNode * getKey(void) const
get the key node this transaction is using
Definition: kgpgsigntransactionhelper.cpp:39
int m_signerPos
position of the signer argument in GnuPG command line
Definition: kgpgsigntransactionhelper.h:133
void setSecringFile(const QString &filename)
add a secret keyring file
Definition: kgpgsigntransactionhelper.cpp:136
void setSuccess(const int v)
set the success value that will be returned with the done signal
Definition: kgpgtransaction.cpp:448
void setSigner(const QString &signer)
set which private key is used to sign
Definition: kgpgsigntransactionhelper.cpp:122
the line was not handled
Definition: kgpgsigntransactionhelper.h:35
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.