Updated on 2022-02-24 GMT+08:00

Methods of the SSLConfig Class

The methods of the SSLConfig class are used to set the certificate path and password. The following describes the main methods (excluding the get method):

Method

Description

public String setSelfCertPath(String selfCertPath)

Sets the absolute path of a client certificate.

public String setSelfCertPwd(String selfCertPwd)

Sets the password of the client certificate.

public String setTrustCAPath(String trustCAPath)

Sets the absolute path of the server CA certificate.

public String setTrustCAPwd(String trustCAPwd)

Sets the password of the server CA certificate.