class UnknownMethodAlgorithmLogger {

    public static void probeResponseForMethodAlgorithm(final InboundResponseFromIdp response) {
        if (response != null) {
            response.getSignature().ifPresent((signature) ->
                logMethodAlgorithm(Role.IDP, signature, Response.DEFAULT_ELEMENT_LOCAL_NAME)
            );
        }
    }

}