Funzione TokenBindingGetKeyTypesServer (tokenbinding.h)

Recupera un elenco dei tipi di chiave supportati dal server.

Sintassi

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

Parametri

[out] keyTypes

Puntatore a un buffer contenente l'elenco di tipi di chiave supportati dal server. TokenBindingGetKeyTypesServer restituisce gli identificatori di stringa per algoritmi noti che corrispondono alle chiavi supportate dal server.

In modalità utente usare HeapAlloc per allocare la memoria per il buffer e HeapFree per liberare tale memoria. In modalità kernel usare ExAllocatePoolWithTag per allocare la memoria per il buffer e ExFreePool per liberare tale memoria.

Valore restituito

Restituisce un codice di stato che indica l'esito positivo o negativo della funzione.

Commenti

È possibile chiamare TokenBindingGetKeyTypesServer sia dalla modalità utente che dalla modalità kernel. Per chiamare questa funzione in modalità kernel, collegare a Ksecdd.sys e usare le funzioni indicate nella descrizione per il parametro keyTypes per l'allocazione e la libertà di memoria.

Requisiti

   
Client minimo supportato Windows 10 [solo app desktop]
Server minimo supportato Windows Server 2016 [solo app desktop]
Piattaforma di destinazione Windows
Intestazione tokenbinding.h
Libreria Tokenbinding.lib
DLL Tokenbinding.dll (modalità utente); Ksecdd.sys (modalità kernel)

Vedi anche

HeapAlloc

HeapFree

TOKENBINDING_KEY_TYPES

TokenBindingGetKeyTypesClient

TokenBindingVerifyMessage