summaryrefslogtreecommitdiffstats
path: root/pica-client/openssltool.h
diff options
context:
space:
mode:
authorAnton <anton@picapica>2017-12-01 22:16:24 +0400
committerAnton <anton@picapica>2017-12-01 22:16:24 +0400
commit0f726c30f5f11990d325bc5e55015c42c80cd9d2 (patch)
treef8c9b83cc440dd3a2f43285dc35199435f6e2701 /pica-client/openssltool.h
parentac041927bc0c82e33acaa9e15fd46ecca0b77172 (diff)
downloadpica-pica-0f726c30f5f11990d325bc5e55015c42c80cd9d2.tar.gz
pica-pica-0f726c30f5f11990d325bc5e55015c42c80cd9d2.zip
fixed code style on all source files (*.c *.cpp *.h) using astyle --style=allman --lineend=linux --indent=tab --pad-oper
Diffstat (limited to 'pica-client/openssltool.h')
-rw-r--r--pica-client/openssltool.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/pica-client/openssltool.h b/pica-client/openssltool.h
index a5714fc..4196f12 100644
--- a/pica-client/openssltool.h
+++ b/pica-client/openssltool.h
@@ -7,23 +7,23 @@
class OpenSSLTool
{
public:
- OpenSSLTool();
+ OpenSSLTool();
- static QString NameFromCertFile(QString cert_file);
- static QString NameFromCertString(QString cert_pem);
- static QString CertTextFromString(QString cert_pem);
+ static QString NameFromCertFile(QString cert_file);
+ static QString NameFromCertString(QString cert_pem);
+ static QString CertTextFromString(QString cert_pem);
- bool GenRSAKeySignal(quint32 numbits, QString keyfile, bool setpassword,
- QString password, QString rand,QObject *receiver, const char *finished_slot);
- bool GenCertSignal(QString cert_file, QString keyfile, QString keypassword, QString subject, QObject *receiver, const char *finished_slot);
+ bool GenRSAKeySignal(quint32 numbits, QString keyfile, bool setpassword,
+ QString password, QString rand, QObject *receiver, const char *finished_slot);
+ bool GenCertSignal(QString cert_file, QString keyfile, QString keypassword, QString subject, QObject *receiver, const char *finished_slot);
- bool GenDHParamSignal(quint32 numbits, QString output_file, QObject *receiver, const char *finished_slot);
+ bool GenDHParamSignal(quint32 numbits, QString output_file, QObject *receiver, const char *finished_slot);
- QString ReadStdErr();
- QString ReadStdOut();
+ QString ReadStdErr();
+ QString ReadStdOut();
private:
- QProcess openssl_;
+ QProcess openssl_;
};
#endif // OPENSSLTOOL_H