> tibemsSSL
> Type

> Table 12 Functions
> Function | Description | Page
> tibemsSSL_GetTrace | Determine whether SSL tracing is enabled. | 228
> tibemsSSL_OpenSSLVersion | Get a string representing the OpenSSL version number. | 229
> tibemsSSL_SetTrace | Enable or disable SSL tracing. | 230

> Table 13 Certificate Encodings
> Constant | Value
> TIBEMS_SSL_ENCODING_AUTO | (0x0000)
> TIBEMS_SSL_ENCODING_PEM | (0x0001)
> TIBEMS_SSL_ENCODING_DER | (0x0002)
> TIBEMS_SSL_ENCODING_BER | (0x0004)
> TIBEMS_SSL_ENCODING_PKCS7 | (0x0010)
> TIBEMS_SSL_ENCODING_PKCS8 | (0x0020)
> TIBEMS_SSL_ENCODING_PKCS12 | (0x0040)
> TIBEMS_SSL_ENCODING_ENTRUST | (0x0100)
> TIBEMS_SSL_ENCODING_KEYSTORE | (0x0200)

> 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

> Parameter | Description
> buffer | The function copies the version string in this buffer.
> buf_size | Length (in bytes) of the buffer.

> 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

> Parameter | Description
> trace | TIBEMS_TRUE enables tracing. TIBEMS_FALSE disables tracing.

> Remarks
> Two levels of SSL tracing are available—regular tracing and debug tracing (more detailed).

Copyright © TIBCO Software Inc. All Rights Reserved.