Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.0 KiB

  1. #pragma once
  2. #ifdef __cplusplus
  3. extern "C" {
  4. #endif
  5. typedef enum {
  6. eXmlSig_DocumentDamaged, // The document has been damaged - hash mismatch
  7. eXmlSig_NoSignature, // No signature in document
  8. eXmlSig_InvalidSignature, // Signature present, but not valid
  9. eXmlSig_UnknownCanonicalization, // Unknown canonicalization type
  10. eXmlSig_UnknownSignatureMethod, // Unknown method of signing document
  11. eXmlSig_UnknownHashType, // Unknown hash type
  12. eXmlSig_OtherUnknown, // Some other unknown parameter
  13. eXmlSig_Valid // Signature was valid
  14. } XMLSIG_RESULT, *PXMLSIG_RESULT;
  15. NTSTATUS
  16. RtlXmlValidateSignatureEx(
  17. IN ULONG ulFlags,
  18. IN PVOID pvXmlDocument,
  19. IN SIZE_T cbDocument,
  20. OUT PRTL_GROWING_LIST SignersInfo,
  21. OUT PRTL_STRING_POOL StringPool,
  22. OUT PULONG ulSigners
  23. );
  24. #ifdef __cplusplus
  25. }; // Extern C
  26. #endif