Skip to content

Commit

Permalink
Example code for #270
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Sep 6, 2024
1 parent c7c27bf commit 802eba7
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
import com.helger.peppolid.IProcessIdentifier;
import com.helger.peppolid.factory.SimpleIdentifierFactory;
import com.helger.phase4.CAS4;
import com.helger.phase4.crypto.ECryptoKeyIdentifierType;
import com.helger.phase4.dynamicdiscovery.AS4EndpointDetailProviderBDXR;
import com.helger.phase4.dynamicdiscovery.AS4EndpointDetailProviderBDXR2;
import com.helger.phase4.dynamicdiscovery.AS4EndpointDetailProviderConstant;
Expand Down Expand Up @@ -109,6 +110,13 @@ protected AbstractCEFUserMessageBuilder ()
as4ProfileID (AS4CEFProfileRegistarSPI.AS4_PROFILE_ID_FOUR_CORNER);

httpClientFactory (new Phase4CEFHttpClientSettings ());

if (false)
{
// Sample code for #270
cryptParams ().setKeyIdentifierType (ECryptoKeyIdentifierType.SKI_KEY_IDENTIFIER);
signingParams ().setKeyIdentifierType (ECryptoKeyIdentifierType.SKI_KEY_IDENTIFIER);
}
}
catch (final Exception ex)
{
Expand Down

0 comments on commit 802eba7

Please sign in to comment.