| Gionni 2004-02-23, 3:36 am |
| Hello everybody,
I'm using C# and I'm trying to digitally sign a document that
Biztalk could understand. I should get a certificate, sign and
document and submit it to Biztalk. I need this because some partners
does not have Biztalk (it's to expensive for their use).
I tried with CAPICOM, but the sign are different with the same
certificate. I tried with WSE, but I have the same problem.
How could I have a message like this:
MIME-Version: 1.0
Content-Type: multipart/signed;
protocol="application/pkcs7-signature";
micalg=SHA1;
boundary="----=_NextPart_000_000A_01C3F710.2AB331B0"
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
This is a multi-part message in MIME format.
------=_NextPart_000_000A_01C3F710.2AB331B0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-ID: <application/ms-cimessage>
HDR00190721004969350SE95L500197009344600
49CL20040105CHIOLA GIOVANNI
00063800176 20040107235900204AEVSE95L500197
00000000
HDR10190721004969350SE95L500197BYFERRERO
PIAZZALE P. FERRERO, 1 A L B A
C8026A CN 120511086
HDR10190721004969350SE95L500197CNLISCATE
VIA MARTIRI DELLA LIBERTA.47/49 LISCATE (MI)
C8026086 MI 200601086
DETT0190721004969350SE95L5001971
DET00190721004969350SE95L500197001316150
01 000000000000000
113000000264000000CT 000000000000000 00000000
00000000 00000000 00000000
------=_NextPart_000_000A_01C3F710.2AB331B0
Content-Type: application/pkcs7-signature;
name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="smime.p7s"
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMC
GgUAMIAGCSqGSIb3DQEHAQAAMYIBAjCB/wIB
ATA/ MDcxCzAJBgNVBAYTAml0MRAwDgYDVQQKEwdGZXJy
ZXJvMRYwFAYDVQQLEw1DQSBGZXJyZXJv
U3BBAgQ7G6SxMAkGBSsOAwIaBQCgXTAYBgkqhkiG
9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3
DQEJBTEPFw0wNDAyMTkxNjQ1MzBaMCMGCSqGSIb3
DQEJBDEWBBRZAIJeiXs8lxmg52mW4Est57Uk
gDANBgkqhkiG9w0BAQEFAARAMa74mG5X99K+Tlp3
LCnkrEFo2P7hbyH1giqa4DxDRVhWIWdIpLRS
/SmPb+/KrihQ/A9EQ8tEBatjdQcpGl6nXgAAAAAAAA==
Thanks to all, Gionni
|