Chapter 7 Connection : tibemsSSL

tibemsSSL
Type
 
Table 12 Functions
 
 
tibemsSSL_GetTrace
Function
Purpose
Determine whether SSL tracing is enabled.
C Declaration
tibems_bool tibemsSSL_GetTrace(void);
 
tibems_bool tibemsSSL_GetDebugTrace(void);
COBOL Call
CALL "tibemsSSL_GetTrace"
RETURNING value-Boolean
END-CALL.
 
CALL "tibemsSSL_GetDebugTrace"
RETURNING value-Boolean
END-CALL.
Remarks
Two levels of SSL tracing are available—regular tracing and debug tracing (more detailed).
 
If tracing is enabled, these calls return TIBEMS_TRUE.
If tracing is disabled, they return TIBEMS_FALSE.
tibemsSSL_OpenSSLVersion
Function
Purpose
Get a string representing the OpenSSL version number.
C Declaration
const char* tibemsSSL_OpenSSLVersion(
    char* buffer,
    tibems_int buf_size );
COBOL Call
MOVE LENGTH OF buffer TO buf-size.
 
CALL "tibemsSSL_OpenSSLVersion"
     USING BY REFERENCE buffer,
           BY VALUE buf-size,
           RETURNING value-Pointer
END-CALL.
 
value-Pointer has usage pointer.
Parameters
 
Remarks
The versions string has the format major.minor.update.
A null character terminates the version string.
tibemsSSL_SetTrace
Function
Purpose
Enable or disable SSL tracing.
C Declaration
void tibemsSSL_SetTrace(
    tibems_bool trace );
 
void tibemsSSL_SetDebugTrace(
    tibems_bool trace );
COBOL Call
CALL "tibemsSSL_SetTrace"
USING BY VALUE trace
END-CALL.
 
CALL "tibemsSSL_SetDebugTrace"
USING BY VALUE trace
END-CALL.
Parameters
 
TIBEMS_TRUE enables tracing.
TIBEMS_FALSE disables tracing.
Remarks
Two levels of SSL tracing are available—regular tracing and debug tracing (more detailed).