SetRAAgentTokenUrl
Sets the communication URL of the remote attestation agent. The URL can be a domain name or an IP address + a port number.
Header File
#include "kdc_proxy.h"
Prototype
uint32_t SetRAAgentTokenUrl(const char *url);
Parameters
Return Values
Return Value |
Description |
|---|---|
0 |
Success |
Non-zero |
Failure. The parameter is invalid or the URL format is incorrect. |
Examples
uint32_t ret = SetRAAgentTokenUrl("https://api.example.com/global-trust-authority/agent/v1/tokens");
if (ret != 0) {
// Handle the error.
}
Parent topic: URL Configuration APIs