EldoS | Feel safer!

Software components for data protection, secure storage and transfer

CMS and Signature ContentType

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
Posted: 03/02/2010 05:55:41
by irsantonio (Basic support level)
Joined: 02/15/2010
Posts: 8

Hi, i've implemented CMS signing with ElSignedCMSMessage but have a interoperability problem: My CMS contains a signature with ContentType set to 1.2.840.113549.1.7.2 (signedData) automatically by SB. Verification of my CMS by the external application always fails unles the ContentType is not set or is set to 1.2.840.113549.1.7.1 (data).

Is there any impact in SB of changing the signature ContentType to 1.2.840.113549.1.7.1?
Posted: 03/02/2010 06:13:25
by Ken Ivanov (EldoS Corp.)

Please use TElCMSSignature.ContentType property to specify a custom content type for the signature. The appropriate constant is SBPKCS7.Unit.SB_OID_PKCS7_DATA.



Topic viewed 1199 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!