gpt4 book ai didi

c# - 将 X509Certificate2 证书转换为 BouncyCaSTLe X509Certificate

转载 作者:可可西里 更新时间:2023-11-01 08:51:04 26 4
gpt4 key购买 nike

我有一个 System.Security.Cryptography.X509Certificates.X509Certificate2 对象。我需要将其转换为 Org.BouncyCaSTLe.X509.X509Certificate 的对象。

谁能帮帮我?

最佳答案

使用 Org.BouncyCaSTLe.Security.DotNetUtilities.FromX509Certificate,它采用 System.Security.Cryptography.X509Certificates.X509Certificate 并返回 Org.BouncyCaSTLe。 X509.X509证书.

关于c# - 将 X509Certificate2 证书转换为 BouncyCaSTLe X509Certificate,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13798879/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com