SIGNER_SIGNATURE_INFO structure

The SIGNER_SIGNATURE_INFO structure contains information about a digital signature.

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_SIGNATURE_INFO {
  DWORD             cbSize;
  ALG_ID            algidHash;
  DWORD             dwAttrChoice;
  union {
    SIGNER_ATTR_AUTHCODE *pAttrAuthcode;
  };
  PCRYPT_ATTRIBUTES psAuthenticated;
  PCRYPT_ATTRIBUTES psUnauthenticated;
} SIGNER_SIGNATURE_INFO, *PSIGNER_SIGNATURE_INFO;

Members

cbSize

The size, in bytes, of the structure.

algidHash

The hash algorithm used for the digital signature.

dwAttrChoice

Specifies whether the signature has Authenticode attributes. This member can be one or more of the following values.

Value Meaning
SIGNER_AUTHCODE_ATTR
1
The signature has Authenticode attributes.
SIGNER_NO_ATTR
0
The signature does not have Authenticode attributes.

 

pAttrAuthcode

Specifies attributes for an Authenticode signature. This member is required if the value of the dwAttrChoice member is SIGNER_AUTHCODE_ATTR.

psAuthenticated

Authenticated user-supplied attributes added to the digital signature.

psUnauthenticated

Unauthenticated user-supplied attributes added to the digital signature.

Requirements

Requirement Value
Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]

See also

SignerSign

SignerSignEx