1
0
mirror of https://github.com/php/php-src.git synced 2026-03-30 04:02:19 +02:00
Files
archived-php-src/ext/openssl/openssl.stub.php
Rimvydas Zilinskas 31d7f9763b Add partial openssl stubs
Closes GH-4509.
2019-08-10 22:19:16 +02:00

25 lines
779 B
PHP

<?php
function openssl_x509_export_to_file($x509, string $outfilename, bool $notext = true): bool {}
function openssl_x509_export($x509 , &$out, bool $notext = true): bool {}
/** @return string|false */
function openssl_x509_fingerprint($x509, string $method = 'sha1', bool $raw_output = false) {}
function openssl_x509_check_private_key($cert, $key): bool {}
function openssl_x509_verify($cert, $key): int {}
/** @return array|false */
function openssl_x509_parse($x509, bool $shortname = true) {}
/** @return bool|int */
function openssl_x509_checkpurpose($x509cert, int $purpose, ?array $cainfo = [], string $untrustedfile = UNKNOWN) {}
/** @return resource|false */
function openssl_x509_read($cert) {}
/** @return false|void */
function openssl_x509_free($x509) {}