Export (0) Print
Expand All
Expand Minimize

CryptSIPVerifyIndirectData function

The CryptSIPVerifyIndirectData function validates the indirect hashed data against the supplied subject.

Syntax


BOOL WINAPI CryptSIPVerifyIndirectData(
  _In_  SIP_SUBJECTINFO *pSubjectInfo,
  _In_  SIP_INDIRECT_DATA *pIndirectData
);

Parameters

pSubjectInfo [in]

A pointer to a SIP_SUBJECTINFO structure that contains information about the message subject.

pIndirectData [in]

A pointer to a SIP_INDIRECT_DATA structure that contains information about the hashed subject information.

Return value

The return value is TRUE if the function succeeds; otherwise, FALSE.

If this function returns FALSE, additional error information can be obtained by calling the GetLastError function. GetLastError will return one of the following error codes.

Return codeDescription
ERROR_INVALID_PARAMETER

One or more of the parameters are not valid.

TRUST_E_SUBJECT_FORM_UNKNOWN

The subject type is an unknown type.

 

Remarks

Subjects include, but are not limited to, portable executable images (.exe), cabinet (.cab) images, flat files, and catalog files. Each subject type uses a different subset of its data for hash calculation and requires a different procedure for storage and retrieval. Therefore each subject type has a unique subject interface package specification.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Mssip.h

Library

Crypt32.lib

DLL

Crypt32.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft