I believe the incoming signatures are always expected to be base64-encoded, so the partner should encode the signature as base64. I am waiting for internal feedback to confirm this, and will provide another update once I receive more information.
Thanks Simon, I did some testing, sending from Celigo to Celigo, to try to better understand all AS2 options myself and it looks like Celigo accepts it incoming both ways.
For configuring an AS2 connection I think it would help if the options were grouped/sorted based on their function, making three groups:
Credentials (where all certificates and keys go, because these are used both for sending and receiving)
Receiving (current 'my station' group)
Sending (current 'partner station' group)
and then for the settings in those groups show them in the order of the operations:
Celigo defaults encoding to Base64, but in my experience most partners use binary. If they don't specify it in their profile its surely binary.
signature encoding governs how the signature is encoded in the mime-message, encoding governs how the complete encrypted mime-message (including the signature) is encoded.
If you set signature encoding to binary the mime-message will still be base-encoded before encrypting it as part of AS2 standard?