tibemsSSLParams_SetIdentity


Function

Purpose

Set the identity of the client program.

C Declaration

tibems_status tibemsSSLParams_SetIdentity( 
    tibemsSSLParams SSLParams, 
    const void* data, 
    tibems_int size, 
    tibems_int encoding ); 
 
tibems_status tibemsSSLParams_SetIdentityFile( 
    tibemsSSLParams SSLParams, 
    const char* filename, 
    tibems_int encoding ); 

COBOL Call

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

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

Parameter
Description
SSLParams
Set the value in this SSL parameter object.
data
Data must include the client’s certificate and private key. It may optionally include issuer certificates.
size
Supply the size (in bytes) of the data.
filename
Read identity data from this file.
encoding
Interpret the certificate 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