System.DirectoryServices.Protocols(S.DS.P)简介上载证书列表问题 [英] Introduction to System.DirectoryServices.Protocols (S.DS.P) Issue with upload certificate list

查看:69
本文介绍了System.DirectoryServices.Protocols(S.DS.P)简介上载证书列表问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究S.DS.P.

Currenty I am working on S.DS.P.

根据我的项目要求,我要上传证书和证书列表(Ldap数据类型),我能够上传证书数据类型但是当我要上传证书列表Dataype然后它不工作。

As per my project requirement I am tring to upload Certificate and Certificate List (Ldap Datatype) , I am able to upload Certificate data type but when I am tring to uplaod Certificate List Dataype then it is not working.

对于单个证书,下面的代码工作正常。你能帮我上传证书清单吗?我应该在下面的代码中更改什么。

For single Certificate below code is working fine. Could you help me for uploading the certificate list. what should i changes in below code.

当我为多个证书提供以下代码时,无法正常工作。

As I tring the below code for multiple certificate whihc is not working.

  new DirectoryAttribute(" OperationalCertificates; 二进制", byte [] [] {结果,结果,结果} );

 new DirectoryAttribute("OperationalCertificates;binary",new byte[][] {results,results,results });

请帮我创建证书列表数据类型的DirectoryAttribute。

Please help me for creating the DirectoryAttribute for Certificate List Datatype.

谢谢

Shreyansh Jain

Shreyansh Jain

推荐答案

您好自己创建测试证书,

Hi Create Own Test Certificate,

感谢您发布此处。

对于您的问题,您可以参考以下MSDN文档关于  具有相同价值的多个证书。

For your question, you could refer to the MSDN document below about Multiple Certificates with the Same Value.

https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature -details / with-certificate-

最诚挚的问候,

Wendy


这篇关于System.DirectoryServices.Protocols(S.DS.P)简介上载证书列表问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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