Broker 10.15 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awGet | awGetTxBrokerSSLCertificate
 
awGetTxBrokerSSLCertificate
BrokerError awGetTxBrokerSSLCertificate(
BrokerTxClient txclient,
BrokerSSLCertificate **certificate);
txclient
The Broker client whose Broker's SSL certificate is to be returned.
certificate
The Broker's certificate. This parameter is used for output.
Obtains the SSL certificate for the Broker to which this txclient is connected.
The caller is responsible for freeing the memory associated with the output certificate. The BrokerSSLCertificate structure is allocated as one block of memory, so nested freeing is unnecessary.
Possible BrokerError major codes
Meaning
AW_BAD_STATE
The txclient is not using an SSL connection.
AW_ERROR_INVALID_CLIENT
The txclient has been destroyed or disconnected.
AW_ERROR_NULL_PARAM
The parameter certificate is NULL.