CRYPT_XML_CHARSET enumeration (cryptxml.h)

The CRYPT_XML_CHARSET enumeration is used to specify the character set used in the XML.

Syntax

typedef enum {
  CRYPT_XML_CHARSET_AUTO = 0,
  CRYPT_XML_CHARSET_UTF8 = 1,
  CRYPT_XML_CHARSET_UTF16LE = 2,
  CRYPT_XML_CHARSET_UTF16BE = 3
} CRYPT_XML_CHARSET;

Constants

 
CRYPT_XML_CHARSET_AUTO
Value: 0
This value is only supported in the CryptXmlOpenToDecode function. The encoded XML character set is determined by the parser and is based on the XML declaration or the best guess on the characters.
CRYPT_XML_CHARSET_UTF8
Value: 1
Specifies the UTF-8 character set.
CRYPT_XML_CHARSET_UTF16LE
Value: 2
Specifies the UTF-16 little-endian character set.
CRYPT_XML_CHARSET_UTF16BE
Value: 3
Specifies the UTF-16 big-endian character set.

Requirements

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