how to use dcmsign simplely??

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
bydoingbylearn
Posts: 29
Joined: Mon, 2010-08-16, 10:01
Location: CHINA

how to use dcmsign simplely??

#1 Post by bydoingbylearn »

hi
I want to know how the dcmsign to work? Becase the help's text is short and I can't understand it correctly.
For example ,if I want to sign a file ?What should I to use dcmsign.exe?

Chung-Yueh Lien
Posts: 61
Joined: Wed, 2010-05-19, 09:27
Location: Taipei, Taiwan

#2 Post by Chung-Yueh Lien »

Hi,

A short example for signing a origin.dcm with Base RSA Digital Signature Profile:

Code: Select all

dcmsign --sign private.key signerCert.crt --profile-base origin.dcm signeddcm.dcm
A short example for verifying a signed DICOM file :

Code: Select all

dcmsign signeddcm.dcm
Of course you should create private.key and signerCert.crt by OpenSSL or other PKI tool before using dcmsign.

bydoingbylearn
Posts: 29
Joined: Mon, 2010-08-16, 10:01
Location: CHINA

#3 Post by bydoingbylearn »

Thank you for you replay!!

bydoingbylearn
Posts: 29
Joined: Mon, 2010-08-16, 10:01
Location: CHINA

#4 Post by bydoingbylearn »

First ,I hope you can forgive my English if there is something wrong,Becase it's not my mother language.
Can you give some adivse to create private.key,and isn't OpenSSL the best way or a common way ??

Chung-Yueh Lien
Posts: 61
Joined: Wed, 2010-05-19, 09:27
Location: Taipei, Taiwan

#5 Post by Chung-Yueh Lien »

Hi bydoingbylearn,
bydoingbylearn wrote: Can you give some adivse to create private.key,and isn't OpenSSL the best way or a common way ??
You must learn the PKI knowledge and DICOM Part 15 well before using dcmsign. There are two articles describing how to generate a SSL certificate with private key.

English version:
http://www.xenocafe.com/tutorials/linux ... /index.php
Tranditional Chinese Version:
http://entry.hit.edu.tw/~chhuang/942-se ... penssl.doc

Best regards,
Chung-Yueh

bydoingbylearn
Posts: 29
Joined: Mon, 2010-08-16, 10:01
Location: CHINA

#6 Post by bydoingbylearn »

Thank you very much !!

bydoingbylearn
Posts: 29
Joined: Mon, 2010-08-16, 10:01
Location: CHINA

#7 Post by bydoingbylearn »

Thanks for your help
I have finished the simple work,Do this job ,I just want to know the dcmsign.
I telled this work to my teacher ,He telled me that it isn't useful in our country now .So he didn't surport my topic .
I know it work to sign dicom image,and isn't it useful in hospital? And if it isn't convenience in English.Can we use Chinese? and may i have you Email?
Thank you very much

Chung-Yueh Lien
Posts: 61
Joined: Wed, 2010-05-19, 09:27
Location: Taipei, Taiwan

#8 Post by Chung-Yueh Lien »

Hi bydoingbylearn,

If you have any question you can send message to this mailbox: cylien[dot]dicom[at]gmail[dot]com
bydoingbylearn wrote: I know it work to sign dicom image,and isn't it useful in hospital?
As I know over 100 hospitals in Taiwan had already introducted the DICOM digital signature system for exchange this year.

BR
Chung-Yueh

Post Reply

Who is online

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