Home
last modified time | relevance | path

Searched refs:spkac (Results 1 – 4 of 4) sorted by relevance

/php-src/ext/openssl/tests/
H A Dopenssl_spki_verify_basic.phpt31 $spkac = openssl_spki_new($pkey, _uuid(), $value);
32 var_dump(openssl_spki_verify(preg_replace('/SPKAC=/', '', $spkac)));
33 var_dump(openssl_spki_verify($spkac . 'Make it fail'));
H A Dopenssl_spki_export_challenge_basic.phpt36 $spkac = openssl_spki_new($pkey, _uuid(), $value);
37 var_dump(openssl_spki_export_challenge(preg_replace('/SPKAC=/', '', $spkac)));
38 var_dump(openssl_spki_export_challenge($spkac . 'Make it fail'));
H A Dopenssl_spki_export_basic.phpt36 $spkac = openssl_spki_new($pkey, _uuid(), $value);
37 echo openssl_spki_export(preg_replace('/SPKAC=/', '', $spkac));
/php-src/ext/openssl/
H A Dopenssl.c1601 const char *spkac = "SPKAC="; in PHP_FUNCTION() local
1638 if (!ASN1_STRING_set(spki->spkac->challenge, challenge, (int)challenge_len)) { in PHP_FUNCTION()
1664 s = zend_string_concat2(spkac, strlen(spkac), spkstr, strlen(spkstr)); in PHP_FUNCTION()
1712 pkey = X509_PUBKEY_get(spki->spkac->pubkey); in PHP_FUNCTION()
1770 pkey = X509_PUBKEY_get(spki->spkac->pubkey); in PHP_FUNCTION()
1830 RETVAL_STRING((const char *)ASN1_STRING_get0_data(spki->spkac->challenge)); in PHP_FUNCTION()

Completed in 31 milliseconds