Deviceauth_curl.h

Header: #include <tlsutils/deviceauth_curl.h>

The tlsutils/deviceauth_curl.h header contains functions and types for applications to perform mutual authentication over TLS.

Application manifest requirements

To access individual hosts or domains, your application must identify them in the AllowedConnections field of the application manifest. If the application uses mutual authentication, the DeviceAuthentication field of the manifest must include the Azure Sphere tenant ID.

Concepts and samples

Functions

Function Description
DeviceAuth_CurlSslFunc Performs mutual authentication using the application's device authentication credentials.
DeviceAuth_SslCtxFunc Performs the device-authentication side of mutual authentication and allows the app to perform additional tasks.

Enums

Enum Description
DeviceAuthSslResult The possible results from a DeviceAuth_SslCtxFunc function.