Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awGet | awGetDescriptorSSLCertificate
 
awGetDescriptorSSLCertificate
BrokerError awGetDescriptorSSLCertificate(
BrokerConnectionDescriptor desc,
char **certificate_file,
char **trust_file);
desc
The connection descriptor whose SSL information is to be provided.
certificate_file
The certificate file associated with desc. This parameter is used for output. If a NULL value is set on return, then SSL is not in use for desc.
trust_file
The trust file associated with desc. This parameter is used for output. If a NULL value is set on return and certificate_file is not NULL, then only server-side authentication is in use for desc.
Provides the secure socket layer (SSL) certificate_file and trust_file for desc. The password associated with desc is not returned.
Possible BrokerError major codes
Meaning
AW_ERROR_INVALID_DESCRIPTOR
The desc is invalid.
AW_ERROR_NULL_PARAM
The certificate_file or trust_file is NULL.
The caller is responsible for freeing the two output parameters, if non-NULL values are returned.
See also: