Home
last modified time | relevance | path

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

/PHP-8.2/ext/openssl/
H A Dopenssl.stub.php393 /** @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key */ argument
394 function openssl_x509_verify(OpenSSLCertificate|string $certificate, $public_key): int {}
461 /** @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key */
462 function openssl_pkey_get_public($public_key): OpenSSLAsymmetricKey|false {}
465 * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key
468 function openssl_get_publickey($public_key): OpenSSLAsymmetricKey|false {}
552 * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key
558 * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key
570 /** @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key */
622 * @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)
356 ZEND_ARG_TYPE_INFO(0, public_key, IS_STRING, 0)
361 ZEND_ARG_INFO(0, public_key)
H A Dopenssl.c605 zval *val, int public_key, char *passphrase, size_t passphrase_len, uint32_t arg_num);
3504 zval *val, int public_key, char *passphrase, size_t passphrase_len, uint32_t arg_num) in php_openssl_pkey_from_zval() argument
3557 if (!public_key && !is_priv) { in php_openssl_pkey_from_zval()
3562 if (public_key && is_priv) { in php_openssl_pkey_from_zval()
3596 if (public_key) { in php_openssl_pkey_from_zval()
3648 if (public_key && cert) { in php_openssl_pkey_from_zval()
/PHP-8.2/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.2/ext/sodium/
H A Dlibsodium.stub.php677 function sodium_crypto_sign_ed25519_pk_to_curve25519(string $public_key): string {}
685 function sodium_crypto_sign_open(string $signed_message, string $public_key): string|false {}
695 function sodium_crypto_sign_verify_detached(string $signature, string $message, string $public_key)…
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.2/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.2/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.c2058 packet->public_key = mnd_emalloc(packet->public_key_len + 1); in php_mysqlnd_sha256_pk_request_response_read()
2059 memcpy(packet->public_key, p, packet->public_key_len); in php_mysqlnd_sha256_pk_request_response_read()
2060 packet->public_key[packet->public_key_len] = '\0'; in php_mysqlnd_sha256_pk_request_response_read()
2078 if (p->public_key) { in php_mysqlnd_sha256_pk_request_response_free_mem()
2079 mnd_efree(p->public_key); in php_mysqlnd_sha256_pk_request_response_free_mem()
2080 p->public_key = NULL; in php_mysqlnd_sha256_pk_request_response_free_mem()

Completed in 62 milliseconds