CRYPT_XML_REFERENCE structure

The CRYPT_XML_REFERENCE structure contains information used to populate the Reference element.

Syntax


typedef struct _CRYPT_XML_REFERENCE {
  ULONG               cbSize;
  HCRYPTXML           hReference;
  LPCWSTR             wszId;
  LPCWSTR             wszUri;
  LPCWSTR             wszType;
  CRYPT_XML_ALGORITHM DigestMethod;
  CRYPT_DATA_BLOB     DigestValue;
  ULONG               cTransform;
  CRYPT_XML_ALGORITHM *rgTransform;
} CRYPT_XML_REFERENCE, *PCRYPT_XML_REFERENCE;

Members

cbSize

The size, in bytes, of this structure.

hReference

The handle of the Reference element.

wszId

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

wszUri

A pointer to a null-terminated Unicode string that contains a URI attribute.

wszType

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

DigestMethod

A CRYPT_XML_ALGORITHM structure that specifies the digest method.

DigestValue

A CRYPT_DATA_BLOB structure that specifies the hash value.

cTransform

The number of elements in the array pointed to by the rgTransform member.

rgTransform

An array of CRYPT_XML_TRANSFORM_INFO structures that contain information about the transform applied to the signed data.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Cryptxml.h

 

 

Show: