NCryptVerifyClaim function

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Verifies a key attestation claim.

Syntax


SECURITY_STATUS WINAPI NCryptVerifyClaim(
  _In_     NCRYPT_KEY_HANDLE                hSubjectKey,
  _In_opt_ NCRYPT_KEY_HANDLE                hAuthorityKey,
  _In_     DWORD                            dwClaimType,
  _In_opt_ NCryptBufferDesc                 *pParameterList,
  _In_     _reads_bytes_(cbClaimBlob) PBYTE pbClaimBlob,
  _In_     DWORD                            cbClaimBlob,
  _Out_    NCryptBufferDesc                 *pOutput,
  _In_     DWORD                            dwFlags
);

Parameters

hSubjectKey [in]

The subject key handle for the claim.

hAuthorityKey [in, optional]

The authority key handle to use when verifying the claim. This parameter is optional because the authority key is self-contained for certain claim types.

dwClaimType [in]

The type of claim.

pParameterList [in, optional]

An optional parameter list.

pbClaimBlob [in]

The input claim blob.

cbClaimBlob [in]
pOutput [out]

The output blob.

dwFlags [in]

As of Windows 10, no flags are defined. This parameter should be set to 0.

Return value

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

Requirements

Minimum supported client

Windows 10 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2016 [desktop apps | Windows Store apps]

Header

Ncrypt.h

Library

Ncrypt.lib

DLL

Ncrypt.dll

 

 

Show: