Home
last modified time | relevance | path

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

/PHP-8.3/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-8.3/ext/openssl/
H A Dopenssl.c1576 const char *spkac = "SPKAC="; in PHP_FUNCTION() local
1613 if (!ASN1_STRING_set(spki->spkac->challenge, challenge, (int)challenge_len)) { in PHP_FUNCTION()
1639 s = zend_string_alloc(strlen(spkac) + strlen(spkstr), 0); in PHP_FUNCTION()
1640 sprintf(ZSTR_VAL(s), "%s%s", spkac, spkstr); in PHP_FUNCTION()
1689 pkey = X509_PUBKEY_get(spki->spkac->pubkey); in PHP_FUNCTION()
1747 pkey = X509_PUBKEY_get(spki->spkac->pubkey); in PHP_FUNCTION()
1807 RETVAL_STRING((const char *)ASN1_STRING_get0_data(spki->spkac->challenge)); in PHP_FUNCTION()

Completed in 20 milliseconds