开发者

Is it possible to parse certificate from base64 form?

开发者 https://www.devze.com 2023-03-15 00:21 出处:网络
If I have a开发者_如何学编程 certificate file.cer in a base64 form, is it possible to parse it to its values in a normal form? Use System.Security.Cryptography.X509Certificates.X509Certificate.I assum

If I have a开发者_如何学编程 certificate file.cer in a base64 form, is it possible to parse it to its values in a normal form?


Use System.Security.Cryptography.X509Certificates.X509Certificate.


I assume you have a base64 encoded certificate, in PEM format. You can use openssl command to check the data. For example

#openssl x509 -in <certificate_file> -text
0

精彩评论

暂无评论...
验证码 换一张
取 消