alexdean / as2

AS2 protocol implementation in Ruby
https://rubygems.org/gems/as2
MIT License
3 stars 2 forks source link

normalize signature content type in mdn #14

Closed alexdean closed 1 year ago

alexdean commented 2 years ago

when building MDN responses, allow us to change application/x-pkcs7-signature to application/pkcs7-signature if needed for a particular partner.

alexdean commented 2 years ago

SMIME_OLDMIME In Content-Type headers, use "application/x-pkcs7-mime" or "application/x-pkcs7-signature". By default, "application/pkcs7-mime" or "application/pkcs7-signature" are used instead.

https://man.openbsd.org/SMIME_write_ASN1.3

can't find a reference to this anywhere else (other openssl docs or ruby openssl lib), so either it's only in OpenBSD or it's a really ancient reference or something.