我们可以在C#中的x509证书中添加自定义数据吗?

问题描述:

can we add custom data in x509 certificate in C#?





就像以编程方式添加自定义扩展。



我尝试了什么:



我创建了.cer文件但是我想要其他信息。

你能告诉我,是否可以在c#中添加自定义数据?



like add custom extension programatically.?

What I have tried:

I have created .cer file but i want additional information in it.
So can you tell me please is it possible to add custom data in c#?

你可以在内存中,但不能在文件中。
You can in memory, but not in a file.