Edit

SIGNER_DIGEST_SIGN_INFO_V2 structure

The SIGNER_DIGEST_SIGN_INFO_V2 structure contains information about digest signing. It contains a pointer to a digest signing function implemented within the provided dll, specified by the dwDigestSignChoice.

Note

This structure is not defined in any header file. To use this structure, you must define it yourself as shown in this topic.

Syntax

   typedef struct SIGNER_DIGEST_SIGN_INFO_V2
    {
        DWORD cbSize;                                                
        PFN_AUTHENTICODE_DIGEST_SIGN pfnAuthenticodeDigestSign;      
        PFN_AUTHENTICODE_DIGEST_SIGN_EX pfnAuthenticodeDigestSignEx; 
        PCRYPT_DATA_BLOB pMetadataBlob;                              
    } SIGNER_DIGEST_SIGN_INFO_V2, *PSIGNER_DIGEST_SIGN_INFO_V2;


Members

cbSize

The size, in bytes, of the structure.

pfnAuthenticodeDigestSign

Pointer to the PFN_AUTHENTICODE_DIGEST_SIGN callback function. Required if the caller of SignerSignEx3 specifies SPC_DIGEST_SIGN_FLAG in the dwFlags parameter.

pfnAuthenticodeDigestSignEx

Pointer to the PFN_AUTHENTICODE_DIGEST_SIGN_EX callback function. Required if the caller of SignerSignEx3 specifies SPC_DIGEST_SIGN_EX_FLAG in the dwFlags parameter.

pMetadataBlob

Optional pointer to CRYPT_DATA_BLOB specifying metadata.

Requirements

Requirement Value
Minimum supported client
Windows 10 May 2020 Update [desktop apps only]
Minimum supported server
Windows Server 2022 [desktop apps only]
DLL Mssign32.dll