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


Chapter 17 IBM z/OS and IBM i : SSL Implementation on IBM z/OS : tibemsSSLParams_System_SetLabel

tibemsSSLParams_System_SetLabel
Function
Purpose
Set the certificate to be used to make the connection.
C Declaration
tibems_status tibemsSystemSSLParams_SetLabel(
    tibemsSSLParams params,
    const char* keyring_label)
COBOL Call
CALL "tibemsSSLParams_System_SetLabel"
     USING BY VALUE SSLParams,
           BY REFERENCE keyring_label,
           RETURNING tibems-status
END-CALL.
 
SSLParams and keyring_label have usage pointer.
Parameters
 
Remarks
This is a connection-specific parameter and can be separately specified for each connection. The label parameter is optional. If it is not specified, the system uses the default certificate on the key ring. If there is no default certificate, the connection fails.
Returns TIBEMS_OK if it succeeds, otherwise TIBEMS_SSL_ERROR.
See Also
tibemsSSLParams_System_SetKeyRingFile on page 558

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