ProtonJSslDomain

Extends {@link SslDomain} with functionality that is specific to proton-j

interface ProtonJSslDomain : SslDomain

Inherited Members

From SslDomain

Factory
class Factory
Undocumented in source.
Mode
enum Mode

Determines whether the endpoint acts as a client or server.

VerifyMode
enum VerifyMode

Determines the level of peer validation.

init
void init(Mode mode)

Initialize the ssl domain object.

getMode
Mode getMode()
Undocumented in source.
setCredentials
void setCredentials(string certificateFile, string privateKeyFile, string password)

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

getPrivateKeyFile
string getPrivateKeyFile()
Undocumented in source.
getPrivateKeyPassword
string getPrivateKeyPassword()
Undocumented in source.
getCertificateFile
string getCertificateFile()
Undocumented in source.
setTrustedCaDb
void setTrustedCaDb(string certificateDb)

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

getTrustedCaDb
string getTrustedCaDb()
Undocumented in source.
setPeerAuthentication
void setPeerAuthentication(VerifyMode mode)

Configure the level of verification used on the peer certificate.

getPeerAuthentication
VerifyMode getPeerAuthentication()
Undocumented in source.
allowUnsecuredClient
void allowUnsecuredClient(bool allowUnsecured)

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

allowUnsecuredClient
bool allowUnsecuredClient()
Undocumented in source.

Meta