大网数据广告活动
账户与安全

CryptXML Limits (Cryptxml.h)

· 52CE 我爱测

CryptXML defines the following global limits in the Cryptxml.h header file.

CryptXML defines the following global limits in the Cryptxml.h header file.

Constant/value Description
CRYPT_XML_BLOB_MAX 0x7FFFFFF8 Encoded data cannot exceed 2 gigabytes (GB).
CRYPT_XML_ID_MAX 256 Id length cannot exceed 256 characters.
CRYPT_XML_URI_MAX 8*1024 URI length cannot exceed 8192 characters.
CRYPT_XML_SIGNATURES_MAX 16 The default maximum number of Signature elements per document. This value can be overridden by specifying a new maximum when passing property values as CRYPT_XML_PROPERTY structures.
CRYPT_XML_TRANSFORM_MAX 16 The maximum number of transforms, represented by CRYPT_XML_ALGORITHM structures, per reference, represented by a CRYPT_XML_REFERENCE structure.
CRYPT_XML_SIGNATURE_VALUE_MAX 2048 The maximum length, in bytes, of a CRYPT_XML_SIGNATURE structure.
CRYPT_XML_DIGEST_VALUE_MAX 128 The maximum length, in bytes, of a digest.
CRYPT_XML_OBJECTS_MAX 256 Used internally to specify the maximum number of Object elements allowed per signature.
CRYPT_XML_REFERENCES_MAX 0x7FF8 The maximum number of Reference elements allowed.

Requirements

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

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。