tibemsSSLParams_SetRandData


Function

Purpose

Settings for generating random data.

C Declaration

tibems_status tibemsSSLParams_SetRandData( 
    tibemsSSLParams SSLParams, 
    const char* rand_data, 
    tibems_int size ); 
 
tibems_status tibemsSSLParams_SetRandFile( 
    tibemsSSLParams SSLParams, 
    const char* rand_file ); 
 
tibems_status tibemsSSLParams_SetRandEGD( 
    tibemsSSLParams SSLParams, 
    const char* rand_egd_path ); 

COBOL Call

CALL "tibemsSSLParams_SetRandData" 
     USING BY VALUE SSLParams, 
           BY REFERENCE rand-data, 
           BY VALUE size, 
           RETURNING tibems-status 
END-CALL. 
 
CALL "tibemsSSLParams_SetRandEGD" 
     USING BY VALUE SSLParams, 
           BY REFERENCE rand-egd-path, 
           RETURNING tibems-status 
END-CALL. 

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

Remarks

These three functions represent three ways to inject crucial random data into SSL computations. Every program must select one of these ways. If an entropy gathering daemon is available on the host computer, we recommend using it.

Parameter
Description
SSLParams
Set the value in this SSL parameter object.
rand_data
Supply random data as a character string.
size
Supply the length (in bytes) of the random data string.
rand_file
Read random data from this file.
rand_egd_path
Supply the file pathname of an entropy gathering daemon, which generates random data.


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