Skip to content

Latest commit

 

History

History
94 lines (68 loc) · 2.83 KB

nf-tokenbinding-tokenbindinggenerateid.md

File metadata and controls

94 lines (68 loc) · 2.83 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:tokenbinding.TokenBindingGenerateID
TokenBindingGenerateID function (tokenbinding.h)
Constructs the token binding identifier by extracting the signature algorithm from the key type and copying the exported public key.
TokenBindingGenerateID
TokenBindingGenerateID function [Security]
security.tokenbindinggenerateid
tokenbinding/TokenBindingGenerateID
security\tokenbindinggenerateid.htm
security
F3E30DF8-2A1D-445E-914B-62999428BB6F
12/05/2018
TokenBindingGenerateID, TokenBindingGenerateID function [Security], security.tokenbindinggenerateid, tokenbinding/TokenBindingGenerateID
tokenbinding.h
Windows
Windows 10 [desktop apps only]
Windows Server 2016 [desktop apps only]
Tokenbinding.lib
Tokenbinding.dll
Windows
19H1
TokenBindingGenerateID
tokenbinding/TokenBindingGenerateID
c++
APIRef
kbSyntax
DllExport
tokenbinding.dll
TokenBindingGenerateID

TokenBindingGenerateID function

-description

Constructs the token binding identifier by extracting the signature algorithm from the key type and copying the exported public key.

-parameters

-param keyType [in]

The negotiated key type to use. Use a value from the list of key types that you retrieved by calling the TokenBindingGetKeyTypesClient function.

-param publicKey [in]

An exported public key blob.

-param publicKeySize [in]

The size of the exported public key blob.

-param resultData [out]

A pointer that receives the address of the buffer that is allocated for the token binding result data. The token binding result data contains the token binding identifier.

Use the HeapAlloc function to allocate the memory for this buffer, and the HeapFree method to free that memory.

-returns

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

-remarks

You can call TokenBindingGenerateID from user mode.

-see-also

HeapAlloc

HeapFree

TokenBindingVerifyMessage