some more improvements, new commands, new simpler ecpect load command, certificate handling for self signed ca plus for client authentication

This commit is contained in:
Marc Wäckerlin committed 2015-04-24 14:39:40 +00:00
1 parent c9ec2b6122
commit 04c4c54089
5 files changed
+333 -50

No files matched your search

+13
View File
@@ -40,6 +40,12 @@ class BadArgument: public ParseError {
BadArgument(QString arg): ParseError("bad argument: "+arg) {}
};
class MissingArguments: public ParseError {
public:
MissingArguments(QString args, QString req):
ParseError("missing arguments, requires "+req+", got: "+args) {}
};
class TestFailed: public Exception {
public:
TestFailed(QString why): Exception("Test Failed: "+why) {}
@@ -114,6 +120,13 @@ class NotACertificate: public TestFailed {
}
};
class KeyNotReadable: public TestFailed {
public:
KeyNotReadable(QString arg):
TestFailed("key file is not readable (password?): "+arg) {
}
};
class NotUnattended: public TestFailed {
public:
NotUnattended(): TestFailed("web page is not in unattended test mode") {}