Search found 43 matches

by yeganeh
Mon, 2009-05-11, 07:21
Forum: DCMTK - General
Topic: openssl & dcmsign
Replies: 17
Views: 19586

hi as you said i use SiCertificateVerifier : OFCondition resualt; SiCertificate cert; cert.loadCertificate("cacert.pem",X509_FILETYPE_PEM); SiCertificateVerifier trustedCa; resualt=trustedCa.addTrustedCertificateFile("cacert.pem",X509_FILETYPE_PEM); resualt=trustedCa.verifyCertif...
by yeganeh
Mon, 2009-05-04, 11:02
Forum: DCMTK - Installation
Topic: A question about error Link2005(MSDV)
Replies: 21
Views: 45410

Hi simeon
I'm a VC++ programmer working on dcmtk
would you please send me your compiled version (with /MD) of dcmtk libraries (i need openssl libs)
I want to use it in VC++2008, is it ok?
thanks in advanced
________
no2 review
by yeganeh
Sun, 2009-05-03, 08:28
Forum: DCMTK - General
Topic: openssl & dcmsign
Replies: 17
Views: 19586

hi i used SiCertificateVerifier .i mean i do SiCertificateVerifier::addTrustedCertificateFile.see i use a self signed CA and issued certificates for my group. it's a trusted one for my local network.when i used SiCertificateVerifier::verifyCertificate(a) were a is a SiCertificate object which retriv...
by yeganeh
Wed, 2009-04-29, 13:00
Forum: DCMTK - General
Topic: openssl & dcmsign
Replies: 17
Views: 19586

really thanks for your support dear J?rg Riesmeier by that solution mem leak solved.but what ishould do for: i wanted to use DcmSignature to retrive signature from a signed structure report file.then in this signed dicom file i wanted to be sure that the certificate which used to signe is trusted an...
by yeganeh
Wed, 2009-04-29, 09:42
Forum: DCMTK - General
Topic: openssl & dcmsign
Replies: 17
Views: 19586

i do the same but the problem not solved.
________
make a vaporizer
by yeganeh
Wed, 2009-04-29, 08:56
Forum: DCMTK - General
Topic: openssl & dcmsign
Replies: 17
Views: 19586

i open my dsmsign.sln and modify dcsignat.cxx file in this way: @@ -699,6 +699,7 @@ } else result = SI_EC_VerificationFailed_NoCertificate; } + delete signature; delete tagList; delete mac; return result; but when i do the BUILd SOLOTIOn there are a lot of errors: 1>Linking... 1>LIBCMTD.lib(_file.ob...
by yeganeh
Wed, 2009-04-29, 08:17
Forum: DCMTK - General
Topic: openssl & dcmsign
Replies: 17
Views: 19586

would you please tell me how to delete a non pointer object?i use a handler for DcmSignature which is not pointer.i guss maybe DcmSignature ::detach() whould do the same job. i search DcmSignature class but cannot another appropriate one to do this job
________
medical marijuana strains
by yeganeh
Wed, 2009-04-29, 05:34
Forum: DCMTK - General
Topic: openssl & dcmsign
Replies: 17
Views: 19586

hi it dosen't need to delete because i use "DcmSignature signer; " it is not pointer. DcmSignature signer; // signature handler DcmItem *sigItem = DcmSignature::findFirstSignatureItem(*dataset, stack); while (sigItem) { signer.attach(sigItem); for (unsigned long l=0; l < signer.numberOfSig...
by yeganeh
Tue, 2009-04-28, 13:28
Forum: DCMTK - General
Topic: openssl &amp; dcmsign
Replies: 17
Views: 19586

sorry
one more
when i use DcmSignature::verifyCurrent() ,my program has memory leak.when i comment this line there is no mem leak.what i should do for this?
thanks in advanced
________
Honda CBR125R
by yeganeh
Tue, 2009-04-28, 13:12
Forum: DCMTK - General
Topic: openssl &amp; dcmsign
Replies: 17
Views: 19586

hi thanks for your kind reply. see sir i wanted to use DcmSignature to retrive signature from a signed structure report file.then in this signed dicom file i wanted to be sure that the certificate which used to signe is trusted and belonge to me(consider i am a self signed CA and want to produce cer...
by yeganeh
Sun, 2009-04-26, 08:26
Forum: DCMTK - General
Topic: openssl &amp; dcmsign
Replies: 17
Views: 19586

openssl &amp; dcmsign

hi would please some one tell me about "verifyCurrent()" in DcmSignature.i wanted to know which parameters this function check to verify a signature?is it check the cetrificate that attache the file?and which parameter of that certificate whoould check? and one more about openssl libs.can ...
by yeganeh
Sun, 2009-04-19, 11:13
Forum: DCMTK - General
Topic: working with openss llibs
Replies: 1
Views: 3158

working with openss llibs

hi i wanted to write a GUI interface which could simply by pushing a button Sing a document forexample.i use dcmdsig lib .i know i should use oppenssl libs.idownload oppenssl from this dcmtk site.i write a MD project.when i compile theprogram in debug mode it's ok but in release mode there are so ma...
by yeganeh
Mon, 2009-03-09, 14:08
Forum: DCMTK - General
Topic: working whit dcmsign
Replies: 18
Views: 17218

see in the documents i have readen that i could attach more than one signature to a dicom file for example SR reports.i guss i could fine every SQ part of the dicome file then atach a signature to this.by the code above i try to do that.but my problem is this: i could only attach one signature to th...
by yeganeh
Mon, 2009-03-09, 13:21
Forum: DCMTK - General
Topic: working whit dcmsign
Replies: 18
Views: 17218

hi for doing the abow job i use this simple code : bool CSignApp::SigneEverySQDicomFile(string filename,string certif,string pKey) { bool resualt=true; DcmFileFormat fileformat; E_TransferSyntax xfer; OFCondition status; xfer = (fileformat.getDataset())->getOriginalXfer(); status= fileformat.loadFil...
by yeganeh
Wed, 2009-03-04, 14:10
Forum: DCMTK - General
Topic: working whit dcmsign
Replies: 18
Views: 17218

hi thanks for your help.finally i can run my program.but in this simple code i open a .dcm file then i insert one signature to this.see my question is this: if we wanted to insert more than one signature what should we do?for example if the file has several sequence item and we wanted to insert one ...