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 ); 

COBOL Call

CALL "tibemsSSLParams_SetPrivateKey" 
     USING BY VALUE SSLParams, 
           BY REFERENCE data, 
           BY VALUE size, 
           BY VALUE encoding, 
           RETURNING tibems-status 
END-CALL. 

SSLParams has usage pointer.
COBOL does not support tibemsSSLParams_SetPrivateKeyFile in release 4.3.

Parameter
Description
SSLParams
Set the value in this SSL 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 Table 16, Certificate Encodings.


TIBCO Enterprise Message Service™ C and COBOL Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com