出口安全上下文ImportSecurityContext [英] ExportSecurityContext & ImportSecurityContext

查看:155
本文介绍了出口安全上下文ImportSecurityContext的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



有人知道如何使用ExportSecurityContext吗? ImportSecurityContext?
我正在尝试开发应用程序,并且使用了这些功能.没有错误,但是没有导出
ContextSecurity.有人知道如何使用这些功能吗?
有必要按特殊顺序调用它们或使用其他功能.我在msdn
help上阅读了所有有关这些功能的信息,但没有示例代码.

感谢帮助

Hi,

Does anybody know how to use ExportSecurityContext  & ImportSecurityContext? 
I'm trying to develop an application and I use these functions. There is no error, but
ContextSecurity is not exported. Does anybody knows how use these functions?
It's necessary to call them with especial order or use another functions. I read at msdn
help all about these functions , but  there is no example code.

Thanks for Help

推荐答案

I使用本机文件作为传递信息的方法,在同一进程中成功地具有ExportSecurityContext和ImportSecurityContext.
我无法使用本机文件作为传递方法,将一个进程的ExportSecurityContext和ImportSecurityContext传递到另一个进程.信息.
我得到了错误80090330,解密错误.

我同意你的观察.没有例子.需要有关api调用顺序或是否需要其他api的信息.

您是否已从其他来源获得帮助或示例代码?请分享.
I have successfully ExportSecurityContext and ImportSecurityContext within the same process, using a native file as the method of passing the information.
I am unable to ExportSecurityContext from one process and to ImportSecurityContext into another process, using a native file as the method of passing the information.
    I get the error, 80090330, Decrypt Error.

I agree with your observation.  There is no example.  Information on the ordering of the api calls or the need for  additional api's is necessary. 

Have you received an assistance or sample code from some other source?  Please share.


这篇关于出口安全上下文ImportSecurityContext的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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