TokenBindingGetKeyTypesClient function (tokenbinding.h)

Retrieves a list of the key types that the client device supports.

Syntax

SECURITY_STATUS TokenBindingGetKeyTypesClient(
  [out] TOKENBINDING_KEY_TYPES **keyTypes
);

Parameters

[out] keyTypes

A pointer to a buffer that contains the list of key types that the client device supports. TokenBindingGetKeyTypesClient returns the string identifiers for well-known algorithms that correspond to the keys that the client device supports. Use HeapAlloc to allocate the memory for the buffer, and HeapFree to free that memory.

Return value

Returns a status code that indicates the success or failure of the function.

Remarks

You can call TokenBindingGetKeyTypesClient from user mode.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header tokenbinding.h
Library Tokenbinding.lib
DLL Tokenbinding.dll

See also

HeapAlloc

HeapFree

TOKENBINDING_KEY_TYPES

TokenBindingGetKeyTypesServer