OpenSSL 函数
PHP 手册

openssl_x509_read

(PHP 4 >= 4.0.6, PHP 5)

openssl_x509_readParse an X.509 certificate and return a resource identifier for it

说明

resource openssl_x509_read ( mixed $x509certdata )

openssl_x509_read() parses the certificate supplied by x509certdata and returns a resource identifier for it.

参数

x509certdata

返回值

Returns a resource identifier on success 或者在失败时返回 FALSE.


OpenSSL 函数
PHP 手册