[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Processing SMIME messages by a receiving agent
Hi
This is the signed message part:
--boundary
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIIE0AYJKoZIhvcNAQcCoIIEwTCCBL0CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
As0wggLJMIICMgIBAjANBgkqhkiG9w0BAQQFADCBnzELMAkGA1UEBhMCSU4xEzARBgNVBAgT
ClRhbWlsIE5hZHUxEDAOBgNVBAcTB0NoZW5uYWkxJTAjBgNVBAoTHE9keXNzZXkgVGVjaG5v
bG9naWVzIExpbWl0ZWQxIDAeBgNVBAMTF0NlcnRpZmljYXRpb24gQXV0aG9yaXR5MSAwHgYJ
KoZIhvcNAQkBFhFjYUBvZHlzc2V5dGVjLmNvbTAeFw0wMDAzMzAyMDQ5MDFaFw0wMTAzMzAy
MDQ5MDFaMIG5MQswCQYDVQQGEwJJTjETMBEGA1UECBMKVGFtaWwgTmFkdTEQMA4GA1UEBxMH
Q2hlbm5haTElMCMGA1UEChMcT2R5c3NleSBUZWNobm9sb2dpZXMgTGltaXRlZDEdMBsGA1UE
--boundary--
I am processing this message as follows:
1) Decode the base64 encoded signed data
2) BER decode the signeddata value
3) Repeat this process recursively till I get all the elements of the
signed data structure completely decode
I want to know whether i am in the right direction. Thanks
Regards
Kasi Viswanathan