Ensure Data Integrity

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
vyrus
Posts: 19
Joined: Sat, 2006-01-21, 22:14

Ensure Data Integrity

#1 Post by vyrus »

Are there any mechanisms in Dicom standard to ensure the data integrity in Dicom storage services? Something similar to CRC checksum string of a internet file. If there is such a mechanism, DCMTK should'v implemented it, right?

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1461
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#2 Post by Marco Eichelberg »

There is no CRC checksum or anything like that in a DICOM dataset. What DICOM offers, however, are digital signatures which can be used to verify the integrity of DICOM datasets, if these are present. Very few devices actually support the creation and verification of such signatures. DCMTK, however, does have a working implementation of both a signature creation and a signature verification tool in module dcmsign (the command line tool has the same name).

vyrus
Posts: 19
Joined: Sat, 2006-01-21, 22:14

#3 Post by vyrus »

Thank you so much for the answer! For the digital signature, my understanding is that, when storescu send any Dicom stream, by default, there is not any digital signature included, right? Thanks!

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#4 Post by Jörg Riesmeier »

In case you only want to ensure data integrity during transmission, you could also use TLS (Transport Layer Security) without encryption. See documentation of storescu and storescp for details. Of course, both sender and receiver need to support this DICOM security extension.

vyrus
Posts: 19
Joined: Sat, 2006-01-21, 22:14

#5 Post by vyrus »

Many thanks! You folks are really helpful!

vyrus
Posts: 19
Joined: Sat, 2006-01-21, 22:14

#6 Post by vyrus »

I was just told that TCP will perform some weak integrity check with checksum. If storescu and storescp are using TCP protocol, we should automatically have some checksum to ensure data integrity. Please comment on this.

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1461
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#7 Post by Marco Eichelberg »

I was just told that TCP will perform some weak integrity check
This is correct. The TCP checksum will protect reliably against bit errors caused by network transmission, but will not protect against deliberate, malicious attacks.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest