Add a Key Agreement callback.
#include <vpnext/vpn_ext_api.h>
VPN_EXT_PUBLIC errno_t vpn_ext_register_key_agreement(vpn_ext_context context, const char *api, unsigned int version, const char *mapping, vpn_ext_callback_t callback)
BlackBerry 10.2.0
The VPN Extension context.
The API name. Possible values are VPN_EXT_KEYAGREE_*.
The API version in the following format: xxxxyyyy where xxxx represents the major version number and yyyy represents the minor version number.
A JSON string containing the mapping that the callback provides.
The callback function to add.
Success.
One or more invalid parameters were specified.