Kopīgot, izmantojot


DeviceAuthSslResult Enum

Header: #include <tlsutils/deviceauth_curl.h>

The possible results from the DeviceAuth_SslCtxFunc function.

typedef enum DeviceAuthSslResult {
    DeviceAuthSslResult_Success = 0,
    DeviceAuthSslResult_GetTenantIdError = 1,
    DeviceAuthSslResult_GetTenantCertificateError = 2,
    DeviceAuthSslResult_EnableHwSignError = 3,
} DeviceAuthSslResult;

Values

DeviceAuthSslResult_Success

Success.

DeviceAuthSslResult_GetTenantIdError

Failed to access the current application's tenant ID.

DeviceAuthSslResult_GetTenantCertificateError

Failed to load the device authentication certificate for the tenant.

DeviceAuthSslResult_EnableHwSignError

Failed to enable hardware signing.