-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from OpenAS2/signingbug
Custom Headers and Various Fixes
- Loading branch information
Showing
27 changed files
with
324 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,30 +12,52 @@ | |
<sender name="OpenAS2A"/> | ||
<receiver name="OpenAS2B"/> | ||
<attribute name="protocol" value="as2"/> | ||
<attribute name="content_transfer_encoding" value="binary"/> | ||
<attribute name="content_transfer_encoding" value="8bit"/> | ||
<attribute name="compression_type" value="ZLIB"/> | ||
<attribute name="subject" value="From OpenAS2A to OpenAS2B"/> | ||
<attribute name="as2_url" value="http://localhost:10080"/> | ||
<attribute name="as2_mdn_to" value="[email protected]"/> | ||
<!-- <attribute name="as2_receipt_option" value="http://localhost:10080"/> ...for async MDN--> | ||
<attribute name="as2_mdn_options" value="signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, SHA256"/> | ||
<attribute name="encrypt" value="3DES"/> | ||
<attribute name="sign" value="MD5"/> | ||
<attribute name="sign" value="SHA1"/> | ||
<attribute name="resend_max_retries" value="3"/> | ||
<attribute name="prevent_canonicalization_for_mic" value="false"/> | ||
<attribute name="no_set_transfer_encoding_for_signing" value="false"/> | ||
<attribute name="no_set_transfer_encoding_for_encryption" value="false"/> | ||
<attribute name="rename_digest_to_old_name" value="false"/> | ||
<attribute name="remove_cms_algorithm_protection_attrib" value="false"/> | ||
</partnership> | ||
|
||
<partnership name="OpenAS2B-to-OpenAS2A"> | ||
<sender name="OpenAS2B"/> | ||
<receiver name="OpenAS2A"/> | ||
<attribute name="protocol" value="as2"/> | ||
<attribute name="content_transfer_encoding" value="binary"/> | ||
<attribute name="content_transfer_encoding" value="8bit"/> | ||
<attribute name="subject" value="From OpenAS2B to OpenAS2A"/> | ||
<attribute name="as2_url" value="http://localhost:10080"/> | ||
<attribute name="as2_mdn_to" value="[email protected]"/> | ||
<!-- <attribute name="as2_receipt_option" value="http://localhost:10080"/> ...for async MDN--> | ||
<attribute name="as2_mdn_options" value="signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, SHA256"/> | ||
<attribute name="encrypt" value="3DES"/> | ||
<attribute name="sign" value="SHA256"/> | ||
<attribute name="prevent_canonicalization_for_mic" value="false"/> | ||
<attribute name="remove_cms_algorithm_protection_attrib" value="false"/> | ||
<!-- | ||
Example for adding static custom headers to Mime body part and additionally add to HTTP | ||
<attribute name="custom_mime_headers" value="X-CustomHeader: shift-shape ; X-CustomShape: oblong"/> | ||
<attribute name="add_custom_mime_headers_to_http" value="true"/> | ||
--> | ||
<!-- | ||
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 | ||
<attribute name="custom_mime_header_names_from_filename" value="header.X-CustomRouteId,header.X-CustomCenter, junk.extraStuff"/> | ||
<attribute name="custom_mime_header_name_delimiters_in_filename" value="-_"/> | ||
Example for adding dynamic custom headers to Mime body part where filename is of form XXX-YYY.msg | ||
<attribute name="custom_mime_header_names_from_filename" value="X-CustomRouteId,X-CustomCenter"/> | ||
<attribute name="custom_mime_header_names_regex_on_filename" value="([^-]*)-([^.]*).msg"/> | ||
--> | ||
</partnership> | ||
|
||
</partnerships> | ||
|
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.