mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-03-25 17:32:28 +01:00
* Define additional constants in mongocrypt-export.h * PHPC-2104: ClientEncryption::QUERY_TYPE_EQUALITY is a string Downstream change since MONGOC_ENCRYPT_QUERY_TYPE_EQUALITY was changed to a string type. Bumps libmongocrypt submodule to 1.5.0-rc2. Related to this bump, mongocrypt.h is no longer generated. Bumps libmongoc submodule to 1.22-dev.
22 lines
651 B
PHP
22 lines
651 B
PHP
--TEST--
|
|
MongoDB\Driver\ClientEncryption constants
|
|
--FILE--
|
|
<?php
|
|
|
|
var_dump(MongoDB\Driver\ClientEncryption::AEAD_AES_256_CBC_HMAC_SHA_512_DETERMINISTIC);
|
|
var_dump(MongoDB\Driver\ClientEncryption::AEAD_AES_256_CBC_HMAC_SHA_512_RANDOM);
|
|
var_dump(MongoDB\Driver\ClientEncryption::ALGORITHM_INDEXED);
|
|
var_dump(MongoDB\Driver\ClientEncryption::ALGORITHM_UNINDEXED);
|
|
var_dump(MongoDB\Driver\ClientEncryption::QUERY_TYPE_EQUALITY);
|
|
|
|
?>
|
|
===DONE===
|
|
<?php exit(0); ?>
|
|
--EXPECT--
|
|
string(43) "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic"
|
|
string(36) "AEAD_AES_256_CBC_HMAC_SHA_512-Random"
|
|
string(7) "Indexed"
|
|
string(9) "Unindexed"
|
|
string(8) "equality"
|
|
===DONE===
|