Add wxWebRequest::DisablePeerVerify()

This method allows insecure HTTPS connections when required
This commit is contained in:
Tobias Taschner
2021-01-19 12:04:36 +01:00
parent bf1b0716e0
commit 036b7f29a7
8 changed files with 78 additions and 0 deletions

View File

@@ -391,6 +391,22 @@ public:
server.
*/
void SetStorage(Storage storage);
/**
Disable SSL certificate verification.
This can be used to connect to self signed servers or other invalid
SSL connections. Disabling verification makes the communication
insecure.
*/
void DisablePeerVerify(bool disable = true);
/**
Returns if peer verification has been disabled.
@see DisablePeerVerify()
*/
bool IsPeerVerifyDisabled();
///@}
/** @name Progress methods