Home
last modified time | relevance | path

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

/PHP-8.0/ext/openssl/tests/
H A Dopenssl_spki_verify_basic.phpt36 $spkac = openssl_spki_new($pkey, _uuid(), $value);
37 var_dump(openssl_spki_verify(preg_replace('/SPKAC=/', '', $spkac)));
38 var_dump(openssl_spki_verify($spkac . 'Make it fail'));
H A Dopenssl_spki_export_basic.phpt37 $spkac = openssl_spki_new($pkey, _uuid(), $value);
38 echo openssl_spki_export(preg_replace('/SPKAC=/', '', $spkac));
H A Dopenssl_spki_export_challenge_basic.phpt39 $spkac = openssl_spki_new($pkey, _uuid(), $value);
40 var_dump(openssl_spki_export_challenge(preg_replace('/SPKAC=/', '', $spkac)));
41 var_dump(openssl_spki_export_challenge($spkac . 'Make it fail'));
/PHP-8.0/ext/openssl/
H A Dopenssl.c1650 const char *spkac = "SPKAC="; in PHP_FUNCTION() local
1687 if (!ASN1_STRING_set(spki->spkac->challenge, challenge, (int)challenge_len)) { in PHP_FUNCTION()
1713 s = zend_string_alloc(strlen(spkac) + strlen(spkstr), 0); in PHP_FUNCTION()
1714 sprintf(ZSTR_VAL(s), "%s%s", spkac, spkstr); in PHP_FUNCTION()
1763 pkey = X509_PUBKEY_get(spki->spkac->pubkey); in PHP_FUNCTION()
1821 pkey = X509_PUBKEY_get(spki->spkac->pubkey); in PHP_FUNCTION()
1884 RETVAL_STRING((const char *)ASN1_STRING_get0_data(spki->spkac->challenge)); in PHP_FUNCTION()

Completed in 22 milliseconds