code: @SneakyThrows
      private static SignatureTrustEngine buildSignatureTrustEngine(final WsFederationConfiguration wsFederationConfiguration) {
          val signingWallet = wsFederationConfiguration.getSigningWallet();
          LOGGER.debug("Building signature trust engine based on the following signing certificates:");
          signingWallet.forEach(c -> LOGGER.debug("Credential entity id [{}] with public key [{}]", c.getEntityId(), c.getPublicKey()));
  
          val resolver = new StaticCredentialResolver(signingWallet);
          val keyResolver = new StaticKeyInfoCredentialResolver(signingWallet);
          return new ExplicitKeySignatureTrustEngine(resolver, keyResolver);
      }
docs: Build signature trust engine.
  
  @param wsFederationConfiguration the ws federation configuration
  @return the signature trust engine