Expand Minimize
0 out of 1 rated this helpful - Rate this topic

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.

ValueMeaning
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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

See also

SignerSign
SignerSignEx

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.