Public Methods
Public Static Methods
KSSL (bool init = true)
| KSSL |
bool doesSSLWork ()
| doesSSLWork |
[static]
bool initialize ()
| initialize |
This is used for apps which do STARTTLS or something similar.
It creates a TLS method regardless of the user's settings.
bool reInitialize ()
| reInitialize |
bool reconfig ()
| reconfig |
void setAutoReconfig (bool ar)
| setAutoReconfig |
int seedWithEGD ()
| seedWithEGD |
This will reseed the PRNG with the EGD if the EGD is configured and
enabled. You don't need to call this yourself normally.
Set a new KSSLSettings instance as the settings.
This deletes the current instance of KSSLSettings.
Returns: the current settings instance
One is built by the constructor, so this will never return 0L.
bool setClientCertificate (KSSLPKCS12 *pkcs)
| setClientCertificate |
Returns: true if the certificate was properly set to the session.
Use this to set the certificate to send to the server.
Do NOT delete the KSSLPKCS12 object until you are done with the session.
It is not defined when KSSL will be done with this.
void setProxyUse (bool active, QString realIP = QString::null, int realPort = 0, QString proxy = QString::null)
| setProxyUse |
Set the status of the connection with respect to proxies.
realIP is the IP address of the host you're connecting to
realPort is the port of the host you're connecting to
proxy is the IP or hostname of the proxy server
void setPeerHost (QString realHost = QString::null)
| setPeerHost |
int connect (int sock)
| connect |
int read (void *buf, int len)
| read |
int peek (void *buf, int len)
| peek |
int write (const void *buf, int len)
| write |
Generated by: root on porky.devel.redhat.com on Mon Jul 14 11:17:57 2003, using kdoc 2.0a54. |