Php verify signature public key
(PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) openssl_verify — Verify signature Return Values Returns 1 if the signature is correct, 0 if it is incorrect, and -1 or ExamplesExample #1 openssl_verify() example
$pubkeyid = openssl_pkey_get_public("file://src/openssl-0.9.6/demos/sign/cert.pem");// state whether signature is okay or not Example #2 openssl_verify() example
Stiv ¶ 16 years ago
$fp = fopen("path/file.pem", "r"); steve dot venable at lmco dot com ¶ 20 years ago
mikey at badpenguins dot com ¶ 12 years ago
phpdev at fpierrat dot fr ¶ 1 year ago
peter dot labos at gmail dot com ¶ 4 years ago
$msg = openssl_error_string() !== false) { meint dot post at bigfoot dot com ¶ 21 years ago
jeremie dot gomez at gmail dot com ¶ 11 years ago
|