Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 7 Connection : tibemsSSLParams : tibemsSSLParams_SetRandData

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_SetRandFile"
USING BY VALUE SSLParams,
BY REFERENCE rand-file,
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.
Parameters
 
Supply the file pathname of an entropy gathering daemon, which generates random data.
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.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved