openssl_x509_fingerprint
(PHP 5 >= 5.6.0, PHP 7, PHP 8)
openssl_x509_fingerprint — 计算一个给定的 x.509 证书的指纹或摘要
说明
   openssl_x509_fingerprint(OpenSSLCertificate|string 
  $certificate, string $digest_algo = "sha1", bool $binary = false): string|false
   openssl_x509_fingerprint() 返回 certificate 的字符串类型的摘要。
  
参数
- x509
- 
 参见密钥/证书参数以获取有效值列表。 
- digest_algo
- 
      使用的摘要方法或散列算法,比如,"sha256"、openssl_get_md_methods() 摘要算法之一。 
- binary
更新日志
| 版本 | 说明 | 
|---|---|
| 8.0.0 | certificate现在接受 OpenSSLCertificate
       实例;之前接受类型OpenSSL X.509的 resource。 | 
  +添加备注
  
 用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/function.openssl-x509-fingerprint.php