Lines Matching refs:spki

427 	ZEND_ARG_INFO(0, spki)
431 ZEND_ARG_INFO(0, spki)
435 ZEND_ARG_INFO(0, spki)
1702 NETSCAPE_SPKI *spki=NULL; in PHP_FUNCTION() local
1733 if ((spki = NETSCAPE_SPKI_new()) == NULL) { in PHP_FUNCTION()
1739 if (!ASN1_STRING_set(spki->spkac->challenge, challenge, (int)challenge_len)) { in PHP_FUNCTION()
1745 if (!NETSCAPE_SPKI_set_pubkey(spki, pkey)) { in PHP_FUNCTION()
1750 if (!NETSCAPE_SPKI_sign(spki, pkey, mdtype)) { in PHP_FUNCTION()
1755 spkstr = NETSCAPE_SPKI_b64_encode(spki); in PHP_FUNCTION()
1771 if (spki != NULL) { in PHP_FUNCTION()
1772 NETSCAPE_SPKI_free(spki); in PHP_FUNCTION()
1797 NETSCAPE_SPKI *spki = NULL; in PHP_FUNCTION() local
1817 spki = NETSCAPE_SPKI_b64_decode(spkstr_cleaned, spkstr_cleaned_len); in PHP_FUNCTION()
1818 if (spki == NULL) { in PHP_FUNCTION()
1823 pkey = X509_PUBKEY_get(spki->spkac->pubkey); in PHP_FUNCTION()
1829 i = NETSCAPE_SPKI_verify(spki, pkey); in PHP_FUNCTION()
1833 if (spki != NULL) { in PHP_FUNCTION()
1834 NETSCAPE_SPKI_free(spki); in PHP_FUNCTION()
1858 NETSCAPE_SPKI *spki = NULL; in PHP_FUNCTION() local
1879 spki = NETSCAPE_SPKI_b64_decode(spkstr_cleaned, spkstr_cleaned_len); in PHP_FUNCTION()
1880 if (spki == NULL) { in PHP_FUNCTION()
1885 pkey = X509_PUBKEY_get(spki->spkac->pubkey); in PHP_FUNCTION()
1902 if (spki != NULL) { in PHP_FUNCTION()
1903 NETSCAPE_SPKI_free(spki); in PHP_FUNCTION()
1928 NETSCAPE_SPKI *spki = NULL; in PHP_FUNCTION() local
1948 spki = NETSCAPE_SPKI_b64_decode(spkstr_cleaned, spkstr_cleaned_len); in PHP_FUNCTION()
1949 if (spki == NULL) { in PHP_FUNCTION()
1954 RETVAL_STRING((const char *)ASN1_STRING_get0_data(spki->spkac->challenge)); in PHP_FUNCTION()