openssl_x509_fingerprint

(PHP 5 >= 5.6.0, PHP 7)

openssl_x509_fingerprint锟斤拷锟斤拷一锟斤拷锟斤拷锟斤拷锟斤拷x.509证锟斤拷锟街革拷苹锟秸�

说锟斤拷

openssl_x509_fingerprint ( mixed $x509 [, string $hash_algorithm = "sha1" [, bool $raw_output = FALSE ]] ) : string

openssl_x509_fingerprint() 锟斤拷锟斤拷x509锟斤拷锟街凤拷锟斤拷锟斤拷锟酵碉拷摘要锟斤拷

锟斤拷锟斤拷

x509

锟轿硷拷锟斤拷钥锟斤拷证锟斤拷锟斤拷锟�锟皆伙拷取锟斤拷效值锟叫憋拷

hash_algorithm

使锟矫碉拷摘要锟斤拷锟斤拷锟斤拷散锟斤拷锟姐法锟斤拷锟斤拷锟界, "sha256", openssl_get_md_methods()摘要锟姐法之一锟斤拷

raw_output

锟斤拷锟斤拷为 TRUE时锟斤拷锟斤拷锟皆硷拷锟斤拷锟斤拷锟斤拷锟斤拷荨锟斤拷锟斤拷锟轿� FALSE时锟斤拷锟斤拷锟叫⌒达拷锟�16锟斤拷锟斤拷锟街凤拷锟斤拷锟斤拷

锟斤拷锟斤拷值

锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟街わ拷锟街革拷频锟斤拷址锟斤拷锟斤拷锟斤拷锟轿⌒�16锟斤拷锟狡革拷式锟斤拷锟斤拷锟角斤拷raw_output锟斤拷锟斤拷为TRUE锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷禄岱碉拷锟斤拷锟较⒄拷锟皆硷拷锟斤拷锟斤拷票锟绞撅拷锟绞斤拷锟�

失锟斤拷锟津返伙拷 FALSE .