setCertsPath

fun setCertsPath(certsPath: String)

Sets path to the certificate used to create a secure connection to PrivMX Bridge. It checks whether a .pem file with certificate exists in certsPath and uses it if it does.

Parameters

certsPath

path to file with .pem certificate

Throws

if certsPath is incorrect

if there is an error while setting certsPath

if there is an unknown error during set certsPath