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


Chapter 7 Connection : tibemsSSLParams : tibemsSSLParams_AddTrustedCert

tibemsSSLParams_AddTrustedCert
Function
Purpose
Add one or more trusted certificates to the SSL parameter object.
C Declaration
tibems_status tibemsSSLParams_AddTrustedCert(
    tibemsSSLParams SSLParams,
    const void* data,
    tibems_int size,
    tibems_int encoding );
 
tibems_status tibemsSSLParams_AddTrustedCertFile(
    tibemsSSLParams SSLParams,
    const char* filename,
    tibems_int encoding );
IBM z/OS
These functions are not supported on IBM z/OS systems. For more information, see SSL Implementation on IBM z/OS.
Parameters
 
Remarks
Trusted certificates are certificates that authenticate the server’s certificate; the certificate authority (CA) that issued the server’s certificate supplies these. SSL clients may verify them during the SSL handshake; if your program verifies host certificates (see tibemsSSLParams_SetVerifyHost on page 245), then you must register trusted certificates as well.
If the parameter object already has trusted certificates, this call adds to that set; it does not overwrite them.

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