AddCert

AddCert 1:

This method saves the file path of the server or client certificate in the TLS configuration settings.

METHOD FINAL AddCert : I_SocketTlsSettingsClass
VAR_INPUT
    sCertPath : STRING(TCPADS_TLS_CERTIFICATE_PATH_SIZE);
    sKeyPath  : STRING(TCPADS_TLS_CERTIFICATE_PATH_SIZE);
    sKeyPwd   : STRING(TCPADS_TLS_KEY_PASSWORD_SIZE);
END_VAR

sCertPath: File path of the server or client certificate.

sKeyPath: File path of the private key.

sKeyPwd: Password string of the certificate.

Return parameter: Own interface pointer of type I_SocketTlsSettingsClass.