class KSSL


Definition#include <kssl.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods


Detailed Description

 KSSL (bool init = true)

KSSL

 ~KSSL ()

~KSSL

bool  doesSSLWork ()

doesSSLWork

[static]

bool  initialize ()

initialize

bool  TLSInit ()

TLSInit

This is used for apps which do STARTTLS or something similar. It creates a TLS method regardless of the user's settings.

void  close ()

close

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.

bool  setSettings (KSSLSettings *settings)

setSettings

Set a new KSSLSettings instance as the settings. This deletes the current instance of KSSLSettings.

KSSLSettings *  settings ()

settings

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

int  pending ()

pending

KSSLConnectionInfo&  connectionInfo ()

connectionInfo

KSSLPeerInfo&  peerInfo ()

peerInfo


Generated by: root on bugs.devel.redhat.com on Wed Nov 13 08:38:48 2002, using kdoc 2.0a54.