ExportSecurityContext和放大器

ExportSecurityContext和放大器

本文介绍了ExportSecurityContext和放大器; ImportSecurityContext的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


大家好!

我正在尝试导出安全上下文,并通过套接字发送到另一个进程。当我使用函数ExportSecurityContext()时,我可以将其导出,然后发送到其他进程,但我无法在其他进程中导入它。每当我获得相同的错误时,"SEC_E_DECRYPT_FAILURE"当我执行ImportSecurityContext()。我正在使用Schannel。
任何人都知道如何导入安全上下文?

我在msdn文档中搜索过,但是与此问题相关的文档非常短,我不明白如何实现这两个功能。

非常感谢你的帮助!

Xevi


Hi everybody!

I'm trying to export the security context, and send to another process through sockets. When I use the function ExportSecurityContext() I can export it, and I send to the other process, but I cannot import it in the other process. Every time I obtain the same error, "SEC_E_DECRYPT_FAILURE" when I execute ImportSecurityContext().
I'm using Schannel.
Anyone knows how to import the security context??

I've searched in msdn documentation, but the documentation related to this issue is very very short, and I don't understand how implement this two functions.

Thank you very much for your help!

Xevi

推荐答案


这篇关于ExportSecurityContext和放大器; ImportSecurityContext的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-23 23:49