Home
last modified time | relevance | path

Searched refs:openssl_x509_checkpurpose (Results 1 – 7 of 7) sorted by relevance

/php-src/ext/openssl/tests/
H A Dopenssl_x509_checkpurpose_basic.phpt21 var_dump(openssl_x509_checkpurpose($cert, X509_PURPOSE_SSL_CLIENT));
22 var_dump(openssl_x509_checkpurpose($cert, X509_PURPOSE_SSL_SERVER));
24 var_dump(openssl_x509_checkpurpose($cert, X509_PURPOSE_SMIME_SIGN));
26 var_dump(openssl_x509_checkpurpose($cert, X509_PURPOSE_CRL_SIGN));
27 var_dump(openssl_x509_checkpurpose($cert, X509_PURPOSE_ANY));
28 var_dump(openssl_x509_checkpurpose($bert, X509_PURPOSE_SSL_CLIENT));
29 var_dump(openssl_x509_checkpurpose($bert, X509_PURPOSE_SSL_SERVER));
33 var_dump(openssl_x509_checkpurpose($bert, X509_PURPOSE_CRL_SIGN));
34 var_dump(openssl_x509_checkpurpose($bert, X509_PURPOSE_ANY));
40 var_dump(openssl_x509_checkpurpose($sert, X509_PURPOSE_CRL_SIGN));
[all …]
H A Dopenssl_error_string_basic_openssl3.phpt140 @openssl_x509_checkpurpose($crt_file, 1000);
141 expect_openssl_errors('openssl_x509_checkpurpose purpose', ['05800079']);
177 openssl_x509_checkpurpose purpose: ok
H A Dopenssl_error_string_basic.phpt139 @openssl_x509_checkpurpose($crt_file, 1000);
140 expect_openssl_errors('openssl_x509_checkpurpose purpose', ['0B086079']);
181 openssl_x509_checkpurpose purpose: ok
H A Dbug81713.phpt73 ["openssl_x509_checkpurpose", $crt_file_null, X509_PURPOSE_SSL_CLIENT],
74 ["openssl_x509_checkpurpose", $crt_file, X509_PURPOSE_SSL_CLIENT, $cainfo_null],
173 openssl_x509_checkpurpose(): Argument #1 ($certificate) must not contain any null bytes
174 openssl_x509_checkpurpose(): Argument #3 ($ca_info) array item must not contain any null bytes
/php-src/ext/openssl/
H A Dopenssl.stub.php442 function openssl_x509_checkpurpose(OpenSSLCertificate|string $certificate, int $purpose, array $ca_…
H A Dopenssl_arginfo.h411 ZEND_FUNCTION(openssl_x509_checkpurpose);
480 ZEND_FE(openssl_x509_checkpurpose, arginfo_openssl_x509_checkpurpose)
H A Dopenssl.c2363 PHP_FUNCTION(openssl_x509_checkpurpose) in PHP_FUNCTION() argument

Completed in 26 milliseconds