The following are the run-time error codes, defined in Cryptxml.h, that may be returned by the CryptXML functions.
| Constant/value | Description |
|---|---|
| CRYPT_XML_E_LARGE 0x80092101L | The supplied value is too large. |
| CRYPT_XML_E_ENCODING 0x80092103L | The specified XML encoding is unsupported. |
| CRYPT_XML_E_ALGORITHM 0x80092104L | The specified XML Algorithm is unsupported. |
| CRYPT_XML_E_TRANSFORM 0x80092105L | The specified transform is unsupported. |
| CRYPT_XML_E_HANDLE 0x80092106L | The supplied handle is not valid. |
| CRYPT_XML_E_OPERATION 0x80092107L | The operation is not valid. |
| CRYPT_XML_E_UNRESOLVED_REFERENCE 0x80092108L | Unable to resolve the Reference element. |
| CRYPT_XML_E_INVALID_DIGEST 0x80092109L | The digest value is not valid. |
| CRYPT_XML_E_INVALID_SIGNATURE 0x8009210AL | The signature value is not valid. |
| CRYPT_XML_E_HASH_FAILED 0x8009210BL | Unable to create or calculate the hash. |
| CRYPT_XML_E_SIGN_FAILED 0x8009210CL | The cryptographic signature operation failed. |
| CRYPT_XML_E_VERIFY_FAILED 0x8009210DL | The signature verification failed. |
| CRYPT_XML_E_TOO_MANY_SIGNATURES 0x8009210EL | The number of Signature elements in the document exceeded the maximum allowed limit for processing. |
| CRYPT_XML_E_INVALID_KEYVALUE 0x8009210FL | The key value that was supplied is not valid. |
| CRYPT_XML_E_UNEXPECTED_XML 0x80092110L | Invalid or unexpected XML was encountered. |
| CRYPT_XML_E_SIGNER 0x80092111L | Unable to locate the signer's key. |
| CRYPT_XML_E_NON_UNIQUE_ID 0x80092112L | A nonunique Id attribute was found. |
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.
