formix
29-08-2006, 10:46
salve a tutti, qualcuno ha mai avuto esperienza con i file di questo tipo (S/MIME appunto) ???
io dovrei unire due file per realizzare un terzo file di tipo S/MIME (in VB6 meglio o eventualmente C# facendomi una dll) , ho cercato articoli oppure librerie sulla rete, ma la poca roba che ho trovato è a pagmento purtroppo :(
in poche parole ottenere un risultato di questo tipo :
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="Dike"
--Dike
Content-Type: application/pkcs7-mime; smime-type=signed-data; name="C:\Firma\ciao.txt.p7m"
Content-Transfer-Encoding: binary
Content-Disposition: attachment; filename="C:\Firma\ciao.txt.p7m"
Content-Description: Signed envelope
0‚€ *†H†÷
*‚q0‚m10 + 07 *†H†÷
*.................
--Dike
Content-Type: application/timestamp-reply; name="C:\Firma\ciao.txt.p7m.tsr"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="C:\Firma\ciao.txt.p7m.tsr"
Content-Description: time-stamp response
MIIHLTADAgEAMIIHJAYJKoZIhvcNAQcCoIIHFTCCBxECAQMxCzAJBgUrDgMCGgUA
MIHMBgsqhkiG9w0BCRABBKCBvA.............
--Dike--
dati
0‚€ *†H†÷
‚q0‚m10 + 07 *†H†÷
.................
e
MIIHLTADAgEAMIIHJAYJKoZIhvcNAQcCoIIHFTCCBxECAQMxCzAJBgUrDgMCGgUA
MIHMBgsqhkiG9w0BCRABBKCBvA.............
ovvero i miei due file
grazie a tutti x l'aiuto che saprete darmi.
io dovrei unire due file per realizzare un terzo file di tipo S/MIME (in VB6 meglio o eventualmente C# facendomi una dll) , ho cercato articoli oppure librerie sulla rete, ma la poca roba che ho trovato è a pagmento purtroppo :(
in poche parole ottenere un risultato di questo tipo :
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="Dike"
--Dike
Content-Type: application/pkcs7-mime; smime-type=signed-data; name="C:\Firma\ciao.txt.p7m"
Content-Transfer-Encoding: binary
Content-Disposition: attachment; filename="C:\Firma\ciao.txt.p7m"
Content-Description: Signed envelope
0‚€ *†H†÷
*‚q0‚m10 + 07 *†H†÷
*.................
--Dike
Content-Type: application/timestamp-reply; name="C:\Firma\ciao.txt.p7m.tsr"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="C:\Firma\ciao.txt.p7m.tsr"
Content-Description: time-stamp response
MIIHLTADAgEAMIIHJAYJKoZIhvcNAQcCoIIHFTCCBxECAQMxCzAJBgUrDgMCGgUA
MIHMBgsqhkiG9w0BCRABBKCBvA.............
--Dike--
dati
0‚€ *†H†÷
‚q0‚m10 + 07 *†H†÷
.................
e
MIIHLTADAgEAMIIHJAYJKoZIhvcNAQcCoIIHFTCCBxECAQMxCzAJBgUrDgMCGgUA
MIHMBgsqhkiG9w0BCRABBKCBvA.............
ovvero i miei due file
grazie a tutti x l'aiuto che saprete darmi.