setting content types in CMS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 09, 2015, Richard Welty wrote:

> 
> how does one set a content type for a signed CMS object?
> i am creating it with a call to CMS_sign (with flag CMS_PARTIAL
> set among others), then when i call CMS_set1_eContentType
> it crashes.
> 

That should work because that's what the cms utility does. Are you checking
that the return value from CMS_sign() is not NULL? What arguments are you
passing to CMS_set1_eContentType()?

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux