Closed problemzebra2 closed 1 year ago
That seems to be very related to #165 isn't it?
Yes, this seems to be a more general issue. #165 refers to a specific signing setting.
I am trying to get a hold of this - I totally see the issue here
By the way cryptParams ().setKeyIdentifierType (DEFAULT_KEY_IDENTIFIER_TYPE);
seems to be wrong. According to the BDEW profile SKI_KEY_IDENTIFIER should be used. I will make a own issue for this.
-> #167
The resolution is implemented in https://github.com/phax/phase4/commit/a02ebf6867b50f757e965596f0d29abcb83547ab
It changes IAS4IncomingSecurityConfiguration
to include the full AS4SigningParams
and AS4CryptParams
objects.
This should be resolved with the 2.3.0 release
AS4RequestHandler
for handling incoming AS 4 messages seems to construct new instances ofAS4SigningParams
andAS4CryptParams
. The required parameters according to the official BDEW profile are only set inPhase4BDEWSender.AbstractBDEWUserMessageBuilder
Is this a bug or is there a way to specify the required crypto and signing params for the
AS4RequestHandler
used for incoming AS 4 messages?