Expand description
JMIX-RS: Rust library for JMIX (JSON Medical Interchange) format
Secure medical data exchange with cryptographic features including:
- AES-256-GCM encryption with ECDH key exchange
- Ed25519 digital signatures and JWS support
- JSON Schema validation
- DICOM metadata extraction
- Envelope creation and processing
- Performance optimization through skip flags
§Performance Optimization
The library supports two performance flags for large datasets:
-
skip_hashing: Skips SHA256 hash computation for files and payload. When enabled, hash fields are set toNoneand payload hash is set to"sha256:skipped"placeholder. -
skip_listing: Skips adding DICOM files to the files.json manifest. Files are still copied to the payload but not indexed. Only metadata.json and report files (if present) are listed.
These flags can significantly improve performance when processing large DICOM datasets where hash verification or file indexing is not required.
Re-exports§
pub use package_validation::validate_package;pub use package_validation::ValidationOptions;pub use package_validation::ValidationReport;pub use config::Config;pub use error::JmixError;pub use error::JmixResult;pub use types::Audit;pub use types::Envelope;pub use types::Manifest;pub use types::Metadata;
Modules§
- assertion
- JMIX Assertion Module
- builder
- config
- dicom
- encryption
- AES-256-GCM encryption with ECDH key agreement for JMIX envelopes.
- error
- jws
- package_
validation - types
- validation