Function
Settings for generating random data.
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 );
CALL "tibemsSSLParams_SetRandData" USING BY VALUESSLParams
, BY REFERENCE rand-data, BY VALUE size, RETURNING tibems-status END-CALL. CALL "tibemsSSLParams_SetRandEGD" USING BY VALUESSLParams
, BY REFERENCE rand-egd-path, RETURNING tibems-status END-CALL.
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.
TIBCO Enterprise Message Service™ C and COBOL Reference System Release 4.3, February 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |