Lines Matching refs:spki

450 	ZEND_ARG_INFO(0, spki)
454 ZEND_ARG_INFO(0, spki)
458 ZEND_ARG_INFO(0, spki)
1812 NETSCAPE_SPKI *spki=NULL; in PHP_FUNCTION() local
1843 if ((spki = NETSCAPE_SPKI_new()) == NULL) { in PHP_FUNCTION()
1850 if (!ASN1_STRING_set(spki->spkac->challenge, challenge, (int)challenge_len)) { in PHP_FUNCTION()
1857 if (!NETSCAPE_SPKI_set_pubkey(spki, pkey)) { in PHP_FUNCTION()
1863 if (!NETSCAPE_SPKI_sign(spki, pkey, mdtype)) { in PHP_FUNCTION()
1869 spkstr = NETSCAPE_SPKI_b64_encode(spki); in PHP_FUNCTION()
1886 if (spki != NULL) { in PHP_FUNCTION()
1887 NETSCAPE_SPKI_free(spki); in PHP_FUNCTION()
1912 NETSCAPE_SPKI *spki = NULL; in PHP_FUNCTION() local
1932 spki = NETSCAPE_SPKI_b64_decode(spkstr_cleaned, spkstr_cleaned_len); in PHP_FUNCTION()
1933 if (spki == NULL) { in PHP_FUNCTION()
1939 pkey = X509_PUBKEY_get(spki->spkac->pubkey); in PHP_FUNCTION()
1946 i = NETSCAPE_SPKI_verify(spki, pkey); in PHP_FUNCTION()
1950 if (spki != NULL) { in PHP_FUNCTION()
1951 NETSCAPE_SPKI_free(spki); in PHP_FUNCTION()
1977 NETSCAPE_SPKI *spki = NULL; in PHP_FUNCTION() local
1998 spki = NETSCAPE_SPKI_b64_decode(spkstr_cleaned, spkstr_cleaned_len); in PHP_FUNCTION()
1999 if (spki == NULL) { in PHP_FUNCTION()
2005 pkey = X509_PUBKEY_get(spki->spkac->pubkey); in PHP_FUNCTION()
2025 if (spki != NULL) { in PHP_FUNCTION()
2026 NETSCAPE_SPKI_free(spki); in PHP_FUNCTION()
2051 NETSCAPE_SPKI *spki = NULL; in PHP_FUNCTION() local
2071 spki = NETSCAPE_SPKI_b64_decode(spkstr_cleaned, spkstr_cleaned_len); in PHP_FUNCTION()
2072 if (spki == NULL) { in PHP_FUNCTION()
2078 RETVAL_STRING((const char *)ASN1_STRING_get0_data(spki->spkac->challenge)); in PHP_FUNCTION()
2085 if (spki) { in PHP_FUNCTION()
2086 NETSCAPE_SPKI_free(spki); in PHP_FUNCTION()