Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 .NET 中创建一个新的 X.509 证书,满足我设置的哈希算法和密钥长度要求。这将是一个自签名证书。创建一个新证书可能会创建一个新密钥,或者我想导入一个现有的 byte[] 形式的私钥。
有谁知道该怎么做?
也许这篇文章会有所帮助。我在我们的测试环境中使用此代码来创建自签名证书。
最好的