System.Workflow.Runtime服务哈希 [英] System.Workflow.Runtime Service hashing

查看:45
本文介绍了System.Workflow.Runtime服务哈希的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在代码中使用System.Workflow.Runtime库,并在通过WorkflowRuntime.CreateWorkflow()创建工作流时使用

I am using the System.Workflow.Runtime library in my code and when I'm creating the workflow with WorkflowRuntime.CreateWorkflow()

但是我得到以下异常:

System.InvalidOperationException:此实现不是Windows平台FIPS验证的加密算法的一部分.
    at System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
    at System.Workflow.Runtime.HashHelper.HashServiceType(String serviceFullTypeName)
    at System.Workflow.Runtime.HashHelper.HashServiceType(Type serviceType)
    at System.Workflow.Runtime.TrackingListenerBroker.AddService(Type trackingServiceType,Version profileVersionId)
    at System.Workflow.Runtime.TrackingListenerFactory.GetChannels(活动计划,WorkflowExecutor exec,Guid实例ID,类型workerType,TrackingListenerBroker& broker)
    at System.Workflow.Runtime.TrackingListenerFactory.GetListener(活动sked,WorkflowExecutor skedExec,TrackingListenerBroker经纪人)
    at System.Workflow.Runtime.TrackingListenerFactory.GetTrackingListener(活动sked,WorkflowExecutor skedExec)
    at System.Workflow.Runtime.TrackingListenerFactory.WorkflowExecutorInitializing(对象发送者,WorkflowExecutorInitializingEventArgs e)
    at System.Workflow.Runtime.WorkflowRuntime.WorkflowExecutorCreated(WorkflowExecutor工作流执行器,已加载布尔值)
    at System.Workflow.Runtime.WorkflowExecutor.RegisterWithRuntime(WorkflowRuntimeworkflowRuntime)
    at System.Workflow.Runtime.WorkflowRuntime.RegisterExecutor(布尔值isActivation,WorkflowExecutor执行程序)
    at System.Workflow.Runtime.WorkflowRuntime.Load(导航键,CreationContext上下文,WorkflowInstance工作流实例)

System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
   at System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
   at System.Workflow.Runtime.HashHelper.HashServiceType(String serviceFullTypeName)
   at System.Workflow.Runtime.HashHelper.HashServiceType(Type serviceType)
   at System.Workflow.Runtime.TrackingListenerBroker.AddService(Type trackingServiceType, Version profileVersionId)
   at System.Workflow.Runtime.TrackingListenerFactory.GetChannels(Activity schedule, WorkflowExecutor exec, Guid instanceID, Type workflowType, TrackingListenerBroker& broker)
   at System.Workflow.Runtime.TrackingListenerFactory.GetListener(Activity sked, WorkflowExecutor skedExec, TrackingListenerBroker broker)
   at System.Workflow.Runtime.TrackingListenerFactory.GetTrackingListener(Activity sked, WorkflowExecutor skedExec)
   at System.Workflow.Runtime.TrackingListenerFactory.WorkflowExecutorInitializing(Object sender, WorkflowExecutorInitializingEventArgs e)
   at System.Workflow.Runtime.WorkflowRuntime.WorkflowExecutorCreated(WorkflowExecutor workflowExecutor, Boolean loaded)
   at System.Workflow.Runtime.WorkflowExecutor.RegisterWithRuntime(WorkflowRuntime workflowRuntime)
   at System.Workflow.Runtime.WorkflowRuntime.RegisterExecutor(Boolean isActivation, WorkflowExecutor executor)
   at System.Workflow.Runtime.WorkflowRuntime.Load(Guid key, CreationContext context, WorkflowInstance workflowInstance)

是否可以将HashHelper模块更改为使用与MD5不同的哈希算法?

我的计算机设置不允许它,因为它强制执行FIPS.

My machine settings does not allow it since it enforces FIPS.

感谢您的帮助.

推荐答案

您好

Hi Barak,

由于您的问题与工作流程更相关,因此我可以帮助您将此案例移至工作流程论坛以寻求专门支持.

As your issue is more related to workflow, I help you move this case to workflow forum for dedicated support.

谢谢您的理解.

最好的问候,
王丽

Best Regards,
Li Wang


这篇关于System.Workflow.Runtime服务哈希的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆