Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CRYPT_XML_OBJECT structure (cryptxml.h)

The CRYPT_XML_OBJECT structure describes an Object element in the signature.

Syntax

typedef struct _CRYPT_XML_OBJECT {
 ULONG cbSize;
 HCRYPTXML hObject;
 LPCWSTR wszId;
 LPCWSTR wszMimeType;
 LPCWSTR wszEncoding;
 CRYPT_XML_REFERENCES Manifest;
 CRYPT_XML_BLOB Encoded;
} CRYPT_XML_OBJECT, *PCRYPT_XML_OBJECT;

Members

cbSize

The size, in bytes, of this structure.

hObject

The handle of the object.

wszId

Optional. A pointer to a null-terminated wide character string that contains the value of the unique identifier attribute of the Object element.

wszMimeType

Optional. A pointer to a null-terminated wide character string that contains the value of the MIME-type attribute of the Object element.

wszEncoding

Optional. A pointer to a null-terminated wide character string that contains the value of the encoding method attribute of the Object element.

Manifest

Optional. A CRYPT_XML_REFERENCES structure that specifies an array of references.

Encoded

Optional. A CRYPT_XML_BLOB structure that contains the XML part of the entire Object element.

Note  This field is empty when the Object element does not contain any elements. Applications can use the CRYPT_XML_FLAG_ALWAYS_RETURN_ENCODED_OBJECT flag to always receive an encoded Object element.

Requirements

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

Feedback

Was this page helpful?

Additional resources