PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
document_source.h File Reference

IHE XDS.b Document Source Actor (ITI-41 Provide and Register Document Set-b). More...

#include <kcenon/common/patterns/result.h>
#include <kcenon/pacs/ihe/xds/errors.h>
#include <kcenon/pacs/ihe/xds/http_options.h>
#include <kcenon/pacs/ihe/xds/submission_set.h>
#include <memory>
#include <string>
Include dependency graph for document_source.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::pacs::ihe::xds::signing_material
 Signing material for WS-Security XML-DSig. More...
 
class  kcenon::pacs::ihe::xds::document_source
 ITI-41 Document Source actor. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::pacs
 
namespace  kcenon::pacs::security
 
namespace  kcenon::pacs::ihe
 
namespace  kcenon::pacs::ihe::xds
 

Detailed Description

IHE XDS.b Document Source Actor (ITI-41 Provide and Register Document Set-b).

The Document Source transmits an ebXML submission set plus one or more documents to a Document Registry over SOAP 1.2 + MTOM + HTTPS. This class orchestrates envelope construction, WS-Security signing, MTOM packaging, and libcurl transport, and returns a typed Result<submit_response>.

Scope of this header (Issue #1128):

  • Document Source actor only.
  • Consumer (#1129), Registry Query (#1130), and ATNA wiring (#1131) are siblings and intentionally not exposed here.

Interoperability caveat: the WS-Security signature produced by submit() advertises the project-local canonicalization URI "urn:kcenon:xds:c14n:pugixml-format-raw-v1", NOT exc-c14n (http://www.w3.org/2001/10/xml-exc-c14n#). The signature is self-verifiable and bit-reproducible, but it is not interoperable with a third-party exc-c14n verifier until a follow-up issue lands full namespace-rewriting canonicalization. Production deployments against a real IHE Gazelle / Apache CXF / .NET WIF registry must wait for that follow-up.

See also
IHE ITI TF-2a ยง3.41
Issue #1128

Definition in file document_source.h.