SslSetClientCertPassword Function

Action

Sets the password for the client certificate.

Include file

WebAPI.bdh

Syntax

SslSetClientCertPassword(in sCertPasword: string): boolean;

Return value

  • true if successful
  • false otherwise
Parameter Description
sCertPasword The password for the client certificate.

Example

dcltrans
  transaction TSecureHTTP
  begin
    SslSetEncryption(SSL_VERSION_SSL3, SSL_CIPHERS_SSLv3);
    SslSetClientCert("Sunny.pem");
    SslSetClientCertPassword("Performer")
    WebUrl("https://www.company.com");
  end TSecureHTTP;