AddCert

AddCert 1:

Diese Methode speichert den Dateipfad des Server- oder Client-Zertifikats in den TLS-Konfigurationseinstellungen.

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: Dateipfad des Server- oder Client-Zertifikats.

sKeyPath: Dateipfad des privaten Schlüssels.

sKeyPwd: Passwort-String des Zertifikats.

Rückgabeparameter: Eigener Schnilttstellenzeiger vom Typ I_SocketTlsSettingsClass.