我想读取证书中的“密钥使用情况”字段。openssl中是否有可用的API? 最佳答案 您可以尝试在openssl中使用以下命令。openssl x509 -in <certificate to check> -purpose -noout -text 这将打印出证书用途和证书本身的列表。