CertMgr MMC管理单元中的X509 CertExtensions [英] X509 CertExtensions inside CertMgr MMC Snap In

查看:92
本文介绍了CertMgr MMC管理单元中的X509 CertExtensions的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用自定义X509扩展创建一堆属性证书,所有这些都可以工作;这只是背景

当这些证书显示在MMC证书管理单元中时,我的属性的OID未注册,因此在证书详细信息"选项卡下,我的扩展名显示为OID号和二进制数据-ugly

现在有人要为MMC管理单元注册自定义OID解析器吗?

I''m in the process of creating a bunch of attribute certificates, using custom X509 extensions, that all works; this is just the background

When those certificates are displayed in the MMC Certificate Snapin, the OID''s of my attributes aren''t registered, so under the Certificate Details tab, my extensions are displayed as OID numbers and binary data - ugly

Anyone now how I go about registering a custom OID parser for the MMC snapin please?

推荐答案

尝试扩展CryptDecodeObject函数的功能(http://msdn.microsoft.com/en-us/library/aa379871(v=vs.85). aspx [ ^ ]).
为此,您必须在注册表项中注册自定义OID解码功能
HKLM \软件\ Microsoft \ Cryptography \ OID \ EncodingType1 \ CryptDllDecodeObject \ YourOID
Try to extend functionality of CryptDecodeObject function (http://msdn.microsoft.com/en-us/library/aa379871(v=vs.85).aspx[^]).
For this You have to register custom OID decoding function in registry key
HKLM\Software\Microsoft\Cryptography\OID\EncodingType1\CryptDllDecodeObject\YourOID


这篇关于CertMgr MMC管理单元中的X509 CertExtensions的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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