CRYPT_XML_SIGNATURE structure (cryptxml.h)

The CRYPT_XML_SIGNATURE structure contains information used to populate the Signature element.

Syntax

typedef struct _CRYPT_XML_SIGNATURE {
  ULONG                 cbSize;
  HCRYPTXML             hSignature;
  LPCWSTR               wszId;
  CRYPT_XML_SIGNED_INFO SignedInfo;
  CRYPT_DATA_BLOB       SignatureValue;
  CRYPT_XML_KEY_INFO    *pKeyInfo;
  ULONG                 cObject;
  PCRYPT_XML_OBJECT     *rgpObject;
} CRYPT_XML_SIGNATURE, *PCRYPT_XML_SIGNATURE;

Members

cbSize

The size, in bytes, of this structure.

hSignature

The handle of the signature to encode.

wszId

A pointer to a null-terminated Unicode string that contains the value of the Id attribute.

SignedInfo

A CRYPT_XML_SIGNED_INFO structure that contains the canonicalization algorithm, a signature algorithm, and one or more references. The SignedInfo element can contain an optional ID attribute that will allow the structure to be referenced by other signatures and objects.

SignatureValue

A CRYPT_DATA_BLOB structure that contains a cryptographic signature value used to populate the Signature element.

pKeyInfo

Optional. A pointer to a CRYPT_XML_KEY_INFO structure that contains information that is encoded in the KeyInfo element.

cObject

The number of items in the array pointed to by the rgpObject member.

rgpObject

Optional. A pointer to an array of pointers to CRYPT_XML_OBJECT structures that contain information that is encoded in Object elements.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header cryptxml.h