Home
last modified time | relevance | path

Searched refs:public_key (Results 1 – 11 of 11) sorted by relevance

/PHP-8.1/ext/openssl/
H A Dopenssl.stub.php39 /** @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key */
40 function openssl_x509_verify(OpenSSLCertificate|string $certificate, $public_key): int {} argument
97 /** @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key */
98 function openssl_pkey_get_public($public_key): OpenSSLAsymmetricKey|false {} argument
101 * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key
104 function openssl_get_publickey($public_key): OpenSSLAsymmetricKey|false {} argument
180 * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key
186 * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key
198 /** @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key */
246 * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key
[all …]
H A Dopenssl_arginfo.h29 ZEND_ARG_INFO(0, public_key)
131 ZEND_ARG_INFO(0, public_key)
265 ZEND_ARG_INFO(0, public_key)
272 ZEND_ARG_INFO(0, public_key)
289 ZEND_ARG_INFO(0, public_key)
297 ZEND_ARG_TYPE_INFO(0, public_key, IS_ARRAY, 0)
354 ZEND_ARG_TYPE_INFO(0, public_key, IS_STRING, 0)
359 ZEND_ARG_INFO(0, public_key)
H A Dopenssl.c625 zval *val, int public_key, char *passphrase, size_t passphrase_len, uint32_t arg_num);
3603 zval *val, int public_key, char *passphrase, size_t passphrase_len, uint32_t arg_num) in php_openssl_pkey_from_zval() argument
3655 if (!public_key && !is_priv) { in php_openssl_pkey_from_zval()
3660 if (public_key && is_priv) { in php_openssl_pkey_from_zval()
3692 if (public_key) { in php_openssl_pkey_from_zval()
3740 if (public_key && cert) { in php_openssl_pkey_from_zval()
/PHP-8.1/ext/sodium/
H A Dlibsodium.stub.php47 …_crypto_box_keypair_from_secretkey_and_publickey(string $secret_key, string $public_key): string {} argument
55 function sodium_crypto_box_seal(string $message, string $public_key): string {} argument
176 function sodium_crypto_sign_ed25519_pk_to_curve25519(string $public_key): string {} argument
182 …crypto_sign_keypair_from_secretkey_and_publickey(string $secret_key, string $public_key): string {} argument
184 function sodium_crypto_sign_open(string $signed_message, string $public_key): string|false {} argument
194 function sodium_crypto_sign_verify_detached(string $signature, string $message, string $public_key)… argument
H A Dlibsodium_arginfo.h103 ZEND_ARG_TYPE_INFO(0, public_key, IS_STRING, 0)
122 ZEND_ARG_TYPE_INFO(0, public_key, IS_STRING, 0)
389 ZEND_ARG_TYPE_INFO(0, public_key, IS_STRING, 0)
400 ZEND_ARG_TYPE_INFO(0, public_key, IS_STRING, 0)
414 ZEND_ARG_TYPE_INFO(0, public_key, IS_STRING, 0)
/PHP-8.1/ext/openssl/tests/
H A Dopenssl_seal_basic.phpt43 openssl_seal(): Argument #4 ($public_key) cannot be empty
49 openssl_seal(): Argument #4 ($public_key) cannot be empty
H A Dbug81713.phpt145 openssl_pkey_get_public(): Argument #1 ($public_key) must not contain any null bytes
150 openssl_pkey_derive(): Argument #1 ($public_key) must not contain any null bytes
154 openssl_public_encrypt(): Argument #3 ($public_key) must not contain any null bytes
155 openssl_public_decrypt(): Argument #3 ($public_key) must not contain any null bytes
157 openssl_verify(): Argument #3 ($public_key) must not contain any null bytes
158 openssl_seal(): Argument #4 ($public_key) must not contain any null bytes
178 openssl_x509_verify(): Argument #2 ($public_key) must not contain any null bytes
/PHP-8.1/ext/pdo_mysql/
H A Dmysql_driver.c873 … zend_string *public_key = pdo_attr_strval(driver_options, PDO_MYSQL_ATTR_SERVER_PUBLIC_KEY, NULL); local
874 if (public_key) {
875 if (mysql_options(H->server, MYSQL_SERVER_PUBLIC_KEY, ZSTR_VAL(public_key))) {
877 zend_string_release_ex(public_key, 0);
880 zend_string_release_ex(public_key, 0);
/PHP-8.1/ext/mysqlnd/
H A Dmysqlnd_auth.c855 if (FAIL == PACKET_READ(conn, &pk_resp_packet) || NULL == pk_resp_packet.public_key) { in mysqlnd_sha256_get_rsa_key()
861 DBG_INF_FMT("Public key(%zu):\n%s", pk_resp_packet.public_key_len, pk_resp_packet.public_key); in mysqlnd_sha256_get_rsa_key()
863 …ret = mysqlnd_sha256_get_rsa_from_pem((const char *) pk_resp_packet.public_key, pk_resp_packet.pub… in mysqlnd_sha256_get_rsa_key()
1151 if (FAIL == PACKET_READ(conn, &pk_resp_packet) || NULL == pk_resp_packet.public_key) { in mysqlnd_caching_sha2_get_key()
1157 DBG_INF_FMT("Public key(%zu):\n%s", pk_resp_packet.public_key_len, pk_resp_packet.public_key); in mysqlnd_caching_sha2_get_key()
1159 …ret = mysqlnd_sha256_get_rsa_from_pem((const char *) pk_resp_packet.public_key, pk_resp_packet.pub… in mysqlnd_caching_sha2_get_key()
H A Dmysqlnd_wireprotocol.h276 zend_uchar *public_key; member
H A Dmysqlnd_wireprotocol.c2006 packet->public_key = mnd_emalloc(packet->public_key_len + 1); in php_mysqlnd_sha256_pk_request_response_read()
2007 memcpy(packet->public_key, p, packet->public_key_len); in php_mysqlnd_sha256_pk_request_response_read()
2008 packet->public_key[packet->public_key_len] = '\0'; in php_mysqlnd_sha256_pk_request_response_read()
2026 if (p->public_key) { in php_mysqlnd_sha256_pk_request_response_free_mem()
2027 mnd_efree(p->public_key); in php_mysqlnd_sha256_pk_request_response_free_mem()
2028 p->public_key = NULL; in php_mysqlnd_sha256_pk_request_response_free_mem()

Completed in 48 milliseconds