System.Security.Cryptography.X509Certificates 中的自定义扩展
.NET 类 System.Security.Cryptography.X509Certificates.X509Extension 不支持我想要解析的某些 X.509 扩展(主题备用名称、名称约束)。此类的 MSDN 页面声明“可以在 CryptoConfig 文件中注册自定义扩展”(链接),但 CryptoConfig 类的描述仅讨论设置自定义加密算法实现 - 如何注册自定义 X. 509分机。
有谁知道该怎么做?
The .NET class System.Security.Cryptography.X509Certificates.X509Extension does not support some X.509 extensions I want to parse (subject alternative name, name constraints). The MSDN page for this class states "Custom extensions can be registered in a CryptoConfig file" (link), but the description of the CryptoConfig class discusses only setting up custom cryptographic algorithm implementations -- it is not obvious how to register a custom X.509 extension.
Does anyone know how to do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您找不到内置类的解决方案,请查看我们的 SecureBlackbox 的 PKI 组件。它们让您可以轻松管理自定义扩展。
If you don't find a solution with the built-in class, take a look at our PKI components of SecureBlackbox. They let you manage custom extensions easily.