Searched refs:spkac (Results 1 – 4 of 4) sorted by relevance
/PHP-7.1/ext/openssl/tests/ |
H A D | openssl_spki_verify_basic.phpt | 36 $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 D | openssl_spki_export_basic.phpt | 37 $spkac = openssl_spki_new($pkey, _uuid(), $value); 38 echo openssl_spki_export(preg_replace('/SPKAC=/', '', $spkac));
|
H A D | openssl_spki_export_challenge_basic.phpt | 39 $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-7.1/ext/openssl/ |
H A D | openssl.c | 1786 const char *spkac = "SPKAC="; in PHP_FUNCTION() local 1830 if (!ASN1_STRING_set(spki->spkac->challenge, challenge, (int)challenge_len)) { in PHP_FUNCTION() 1856 s = zend_string_alloc(strlen(spkac) + strlen(spkstr), 0); in PHP_FUNCTION() 1857 sprintf(ZSTR_VAL(s), "%s%s", spkac, spkstr); in PHP_FUNCTION() 1919 pkey = X509_PUBKEY_get(spki->spkac->pubkey); in PHP_FUNCTION() 1985 pkey = X509_PUBKEY_get(spki->spkac->pubkey); in PHP_FUNCTION() 2058 RETVAL_STRING((const char *)ASN1_STRING_get0_data(spki->spkac->challenge)); in PHP_FUNCTION()
|
Completed in 16 milliseconds