Muokkaa

Jaa


SIGNER_SUBJECT_INFO structure

The SIGNER_SUBJECT_INFO structure specifies a subject to sign.

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_SUBJECT_INFO {
  DWORD cbSize;
  DWORD *pdwIndex;
  DWORD dwSubjectChoice;
  union {
    SIGNER_FILE_INFO *pSignerFileInfo;
    SIGNER_BLOB_INFO *pSignerBlobInfo;
  };
} SIGNER_SUBJECT_INFO, *PSIGNER_SUBJECT_INFO;

Members

cbSize

The size, in bytes, of the structure.

pdwIndex

This member is reserved. It must be set to zero.

dwSubjectChoice

Specifies whether the subject is a file or a BLOB. This member can be one or more of the following values.

Value Meaning
SIGNER_SUBJECT_BLOB
2 (0x2)
The subject is a BLOB.
SIGNER_SUBJECT_FILE
1 (0x1)
The subject is a file.

 

pSignerFileInfo

A pointer to a SIGNER_FILE_INFO structure that specifies the file to sign.

pSignerBlobInfo

A pointer to a SIGNER_BLOB_INFO structure that specifies the BLOB to sign.

Requirements

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

See also

SignerSign

SignerSignEx