|
12 | 12 | <sender name="OpenAS2A"/> |
13 | 13 | <receiver name="OpenAS2B"/> |
14 | 14 | <attribute name="protocol" value="as2"/> |
15 | | - <attribute name="content_transfer_encoding" value="binary"/> |
| 15 | + <attribute name="content_transfer_encoding" value="8bit"/> |
16 | 16 | <attribute name="compression_type" value="ZLIB"/> |
17 | 17 | <attribute name="subject" value="From OpenAS2A to OpenAS2B"/> |
18 | 18 | <attribute name="as2_url" value="http://localhost:10080"/> |
19 | 19 | < attribute name= "as2_mdn_to" value= "[email protected]"/> |
20 | 20 | <!-- <attribute name="as2_receipt_option" value="http://localhost:10080"/> ...for async MDN--> |
21 | | - <attribute name="as2_mdn_options" value="signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, SHA1"/> |
| 21 | + <attribute name="as2_mdn_options" value="signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, SHA256"/> |
22 | 22 | <attribute name="encrypt" value="3DES"/> |
23 | | - <attribute name="sign" value="MD5"/> |
| 23 | + <attribute name="sign" value="SHA1"/> |
24 | 24 | <attribute name="resend_max_retries" value="3"/> |
| 25 | + <attribute name="prevent_canonicalization_for_mic" value="false"/> |
| 26 | + <attribute name="no_set_transfer_encoding_for_signing" value="false"/> |
| 27 | + <attribute name="no_set_transfer_encoding_for_encryption" value="false"/> |
| 28 | + <attribute name="rename_digest_to_old_name" value="false"/> |
| 29 | + <attribute name="remove_cms_algorithm_protection_attrib" value="false"/> |
25 | 30 | </partnership> |
26 | 31 |
|
27 | 32 | <partnership name="OpenAS2B-to-OpenAS2A"> |
28 | 33 | <sender name="OpenAS2B"/> |
29 | 34 | <receiver name="OpenAS2A"/> |
30 | 35 | <attribute name="protocol" value="as2"/> |
31 | | - <attribute name="content_transfer_encoding" value="binary"/> |
| 36 | + <attribute name="content_transfer_encoding" value="8bit"/> |
32 | 37 | <attribute name="subject" value="From OpenAS2B to OpenAS2A"/> |
33 | 38 | <attribute name="as2_url" value="http://localhost:10080"/> |
34 | 39 | < attribute name= "as2_mdn_to" value= "[email protected]"/> |
35 | 40 | <!-- <attribute name="as2_receipt_option" value="http://localhost:10080"/> ...for async MDN--> |
36 | | - <attribute name="as2_mdn_options" value="signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, SHA1"/> |
| 41 | + <attribute name="as2_mdn_options" value="signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, SHA256"/> |
37 | 42 | <attribute name="encrypt" value="3DES"/> |
38 | | - <attribute name="sign" value="SHA1"/> |
| 43 | + <attribute name="sign" value="SHA256"/> |
| 44 | + <attribute name="prevent_canonicalization_for_mic" value="false"/> |
| 45 | + <attribute name="remove_cms_algorithm_protection_attrib" value="false"/> |
| 46 | + <!-- |
| 47 | + Example for adding static custom headers to Mime body part and additionally add to HTTP |
| 48 | + <attribute name="custom_mime_headers" value="X-CustomHeader: shift-shape ; X-CustomShape: oblong"/> |
| 49 | + <attribute name="add_custom_mime_headers_to_http" value="true"/> |
| 50 | + --> |
| 51 | + <!-- |
| 52 | + Example for adding dynamic custom headers to Mime body part using delimiters where filename is of form XXX-YYY-ZZZ or XXX_YYY-ZZZ etc |
| 53 | + <attribute name="custom_mime_header_names_from_filename" value="header.X-CustomRouteId,header.X-CustomCenter, junk.extraStuff"/> |
| 54 | + <attribute name="custom_mime_header_name_delimiters_in_filename" value="-_"/> |
| 55 | +
|
| 56 | + Example for adding dynamic custom headers to Mime body part where filename is of form XXX-YYY.msg |
| 57 | + <attribute name="custom_mime_header_names_from_filename" value="X-CustomRouteId,X-CustomCenter"/> |
| 58 | + <attribute name="custom_mime_header_names_regex_on_filename" value="([^-]*)-([^.]*).msg"/> |
| 59 | + --> |
39 | 60 | </partnership> |
| 61 | + |
40 | 62 | </partnerships> |
41 | 63 |
|
0 commit comments