Export (0) Print
Expand All
Expand Minimize

SIP_ADD_NEWPROVIDER structure

The SIP_ADD_NEWPROVIDER structure defines a subject interface package (SIP). This structure is used by the CryptSIPAddProvider function.

Syntax


typedef struct SIP_ADD_NEWPROVIDER_ {
  DWORD cbStruct;
  GUID  *pgSubject;
  WCHAR *pwszDLLFileName;
  WCHAR *pwszMagicNumber;
  WCHAR *pwszIsFunctionName;
  WCHAR *pwszGetFuncName;
  WCHAR *pwszPutFuncName;
  WCHAR *pwszCreateFuncName;
  WCHAR *pwszVerifyFuncName;
  WCHAR *pwszRemoveFuncName;
  WCHAR *pwszIsFunctionNameFmt2;
  WCHAR *pwszGetCapFuncName;
} SIP_ADD_NEWPROVIDER, *PSIP_ADD_NEWPROVIDER;

Members

cbStruct

The size, in bytes, of this structure. Set this value to sizeof(SIP_ADD_NEWPROVIDER).

pgSubject

Pointer to the GUID that identifies the SIP.

pwszDLLFileName

Pointer to a null-terminated string that contains the name of the DLL file.

pwszMagicNumber

This member is not used.

pwszIsFunctionName

Pointer to a null-terminated string that contains the name of the function that determines whether the file contents are supported by this SIP. This member can be NULL. The signature for this function pointer is described in pfnIsFileSupported.

pwszGetFuncName

Pointer to a null-terminated string that contains the name of the function that retrieves the signed data. The signature for this function pointer is described in CryptSIPGetSignedDataMsg.

pwszPutFuncName

Pointer to a null-terminated string that contains the name of the function that stores the Authenticode signature in the target file. The signature for this function pointer is described in CryptSIPPutSignedDataMsg.

pwszCreateFuncName

Pointer to a null-terminated string that contains the name of the function that creates the hash. The signature for this function pointer is described in CryptSIPCreateIndirectData.

pwszVerifyFuncName

Pointer to a null-terminated string that contains the name of the function that verifies the hash. The signature for this function pointer is described in CryptSIPVerifyIndirectData.

pwszRemoveFuncName

Pointer to a null-terminated string that contains the name of the function that removes the signed data. The signature for this function pointer is described in CryptSIPRemoveSignedDataMsg.

pwszIsFunctionNameFmt2

Pointer to a null-terminated string that contains the name of the function that determines whether the file name extension is supported by this SIP. This member can be NULL. The signature for this function pointer is described in pfnIsFileSupportedName.

pwszGetCapFuncName

Pointer to a null-terminated string that contains the name of the function that determines the capabilities of the SIP. If this parameter is set to NULL, multiple signatures are not available for this SIP. The signature for this function pointer is described in pCryptSIPGetCaps.

Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP:  This member is not available.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Mssip.h

See also

CryptSIPAddProvider

 

 

Community Additions

ADD
Show:
© 2014 Microsoft