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.
有没有办法从公钥中获取证书详细信息?我不得不为此使用 Bouncy Castle jar,但不知何故我无法解决这个问题。
您可以使用 openssl 工具包检查证书:
$ openssl x509 -in /usr/share/ca-certificates/cacert.org/cacert.org.crt -text Certificate: Data: Version: 3 (0x2) Serial Number: 0 (0x0) Signature Algorithm: md5WithRSAEncryption ...
如果您需要其他环境中的结果,您可能需要提供更多详细信息。
使用 php 来自 HTML 的标记及其内容