识别证书是 der 编码还是 base 64 编码 [英] Identifying whether a certificate is der encoded or base 64 encoded
本文介绍了识别证书是 der 编码还是 base 64 编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法知道证书文件的编码类型?
Is there a way by which i can know the encoding type of a certiicate file?
推荐答案
如果您在记事本中打开证书并且它以 -----BEGIN CERTIFICATE----- 开头,那么它是 Base64 编码的.如果都是 goobledygook,则是 DER 编码.
If you open the certificate up in notepad and it starts with -----BEGIN CERTIFICATE----- then it's Base64 encoded. if it's all goobledygook it's DER encoded.
这篇关于识别证书是 der 编码还是 base 64 编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文