SslDomain

I store the details used to create SSL sessions.

Members

Classes

Factory
class Factory
Undocumented in source.

Enums

Mode
enum Mode

Determines whether the endpoint acts as a client or server.

VerifyMode
enum VerifyMode

Determines the level of peer validation.

Functions

allowUnsecuredClient
void allowUnsecuredClient(bool allowUnsecured)

Permit a server to accept connection requests from non-SSL clients.

allowUnsecuredClient
bool allowUnsecuredClient()
Undocumented in source.
getCertificateFile
string getCertificateFile()
Undocumented in source.
getMode
Mode getMode()
Undocumented in source.
getPeerAuthentication
VerifyMode getPeerAuthentication()
Undocumented in source.
getPrivateKeyFile
string getPrivateKeyFile()
Undocumented in source.
getPrivateKeyPassword
string getPrivateKeyPassword()
Undocumented in source.
getTrustedCaDb
string getTrustedCaDb()
Undocumented in source.
init
void init(Mode mode)

Initialize the ssl domain object.

setCredentials
void setCredentials(string certificateFile, string privateKeyFile, string password)

Set the certificate that identifies the local node to the remote.

setPeerAuthentication
void setPeerAuthentication(VerifyMode mode)

Configure the level of verification used on the peer certificate.

setTrustedCaDb
void setTrustedCaDb(string certificateDb)

Configure the set of trusted CA certificates used by this node to verify peers.

Meta