tibemsSSLParams_SetPrivateKey

Function

Purpose

Set the client’s private key.

C Declaration

tibems_status tibemsSSLParams_SetPrivateKey(
    tibemsSSLParams SSLParams,
    const void* data,
    tibems_int size,
    tibems_int encoding );

tibems_status tibemsSSLParams_SetPrivateKeyFile(
    tibemsSSLParams SSLParams,
    const char* filename,
    tibems_int encoding );

IBM Systems

These functions are not supported on z/OS and IBM i systems. For more information, see TLS Implementation on IBM EBCDIC Systems.

Parameters

Parameter Description
SSLParams Set the value in this TLS parameter object.
data Private key data.
size Supply the size (in bytes) of the data.
filename Read private key data from this file.
encoding Interpret the data using this encoding; for values, see Certificate Encodings.