tibemsSSLParams_AddIssuerCert


Function

Purpose

Add one or more issuer certificates to the SSL parameter object.

C Declaration

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

COBOL Call

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

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

Parameter
Description
SSLParams
Add the certificates to this SSL parameter object.
data
Use the certificate data at this location.
size
Length of the certificate data (in bytes).
encoding
Interpret the certificate data using this encoding; for values, see Table 16, Certificate Encodings.
filename
Read the certificate data from this file.

Remarks

Issuer certificates are certificates that authenticate the client’s certificate; the certificate authority (CA) that issued the client’s certificate supplies these. SSL clients must supply them during the SSL handshake, so your program must set them.

If the parameter object already has issuer certificates, this call adds to that set; it does not overwrite them.


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