= 4.0.6, PHP 5, PHP 7, PHP 8)openssl_x509_read — 解析一個x.509證書并返回一個資源標(biāo)識符說明openssl_x509_read(mixed $x509certdata): resourceopens">

openssl_x509_read

(PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8)

openssl_x509_read解析一個x.509證書并返回一個資源標(biāo)識符

說明

openssl_x509_read(mixed $x509certdata): resource

openssl_x509_read() 解析x509certdata提供的證書,并返回一個資源標(biāo)識符。

參數(shù)

x509certdata

X509 證書。參見 Key/Certificate parameters 獲取可用的值。

返回值

成功,返回一個資源標(biāo)識符, 或者在失敗時返回 false.