Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awGet | awGetBrokerSSLCertificate
 
awGetBrokerSSLCertificate
BrokerError awGetBrokerSSLCertificate(
BrokerClient client,
BrokerSSLCertificate **certificate);
client
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 client 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 client is not using an SSL connection.
AW_ERROR_INVALID_CLIENT
The client has been destroyed or disconnected.
AW_ERROR_NULL_PARAM
The parameter certificate is NULL.