Copyright © TIBCO Software Inc. All Rights Reserved

> tibemsSSLParams_SetPrivateKey
> Function
> Purpose
> Set the client’s private key.
> C Declaration
> tibems_status tibemsSSLParams_SetPrivateKey(
> tibemsSSLParams SSLParams,
> const void* data,
> tibems_int size,
> tibems_int encoding );
> tibems_status tibemsSSLParams_SetPrivateKeyFile(
> tibemsSSLParams SSLParams,
> const char* filename,
> tibems_int encoding );
> COBOL Call
> CALL "tibemsSSLParams_SetPrivateKey"
> USING BY VALUE SSLParams,
> BY REFERENCE data,
> BY VALUE size,
> BY VALUE encoding,
> RETURNING tibems-status
> END-CALL.
> CALL "tibemsSSLParams_SetPrivateKeyFile"
> USING BY VALUE SSLParams,
> BY REFERENCE filename,
> BY VALUE encoding,
> RETURNING tibems-status
> END-CALL.

> | SSLParams has usage pointer. COBOL does not support tibemsSSLParams_SetPrivateKeyFile in release 6.1.

> Parameters

> Parameter | Description
> SSLParams | Set the value in this SSL parameter object.
> data | Private key data.
> size | Supply the size (in bytes) of the data.
> filename | Read private key data from this file.
> encoding | Interpret the data using this encoding; for values, see Table 13, Certificate Encodings.

Copyright © TIBCO Software Inc. All Rights Reserved