Lines Matching refs:signature
39 When calling a function that will verify a signature/certificate, the cainfo
133 Verifies that the signature on the MIME message contained in the file
167 to include in the signature, in order to aid the recipient in verifying the
183 bool openssl_sign(string data, &string signature, mixed key)
185 Uses key to create signature for data, returns true on success and false
186 on failure. signature is passed by reference and contains the newly created
187 signature on success.
190 int openssl_verify(string data, string signature, mixed key)
192 Uses key to verify that the signature is correct for the given data.
304 // calculate signature
305 openssl_sign($data, $signature, $key);
308 // recipient verifies signature
317 // state whether signature is okay or not
318 echo openssl_verify($data, $signature, $pubkey) == 1 ? "ok\n" : "bad\n";