(mongodb >=1.7.0)
La classe MongoDB\Driver\ClientEncryption gère la création de clés de données pour le chiffrement côté client, ainsi que le chiffrement et le déchiffrement manuels des valeurs.
MongoDB\Driver\ClientEncryption::AEAD_AES_256_CBC_HMAC_SHA_512_DETERMINISTICMongoDB\Driver\ClientEncryption::AEAD_AES_256_CBC_HMAC_SHA_512_RANDOMMongoDB\Driver\ClientEncryption::ALGORITHM_INDEXED"autoEncryption". L'option de chiffrement automatique "bypassQueryAnalysis" peut être true. L'option de chiffrement automatique "bypassAutoEncryption" doit être false.
MongoDB\Driver\ClientEncryption::ALGORITHM_UNINDEXEDMongoDB\Driver\ClientEncryption::ALGORITHM_RANGE"autoEncryption". L'option de chiffrement automatique
"bypassQueryAnalysis" peut être true. L'option de chiffrement automatique
"bypassAutoEncryption" doit être false.
Note: L'extension ne prend pas encore en charge les requêtes de plage pour les types de champ BSON Decimal128.
MongoDB\Driver\ClientEncryption::QUERY_TYPE_EQUALITYMongoDB\Driver\ClientEncryption::ALGORITHM_INDEXED.
MongoDB\Driver\ClientEncryption::QUERY_TYPE_RANGEMongoDB\Driver\ClientEncryption::ALGORITHM_RANGE.
| Version | Description |
|---|---|
| PECL mongodb 2.0.0 |
Supprimer MongoDB\Driver\ClientEncryption::ALGORITHM_INDEXED
et
Removed MongoDB\Driver\ClientEncryption::ALGORITHM_RANGE_PREVIEW
and MongoDB\Driver\ClientEncryption::QUERY_TYPE_RANGE_PREVIEW.
|
| PECL mongodb 1.20.0 |
Ajout MongoDB\Driver\ClientEncryption::ALGORITHM_RANGE
et MongoDB\Driver\ClientEncryption::QUERY_TYPE_RANGE.
Déprécié MongoDB\Driver\ClientEncryption::ALGORITHM_RANGE_PREVIEW
et MongoDB\Driver\ClientEncryption::QUERY_TYPE_RANGE_PREVIEW.
|
| PECL mongodb 1.16.0 |
Ajout MongoDB\Driver\ClientEncryption::ALGORITHM_RANGE_PREVIEW
et MongoDB\Driver\ClientEncryption::QUERY_TYPE_RANGE_PREVIEW.
|
| PECL mongodb 1.14.0 |
Ajout MongoDB\Driver\ClientEncryption::ALGORITHM_INDEXED,
MongoDB\Driver\ClientEncryption::ALGORITHM_UNINDEXED,
et MongoDB\Driver\ClientEncryption::QUERY_TYPE_EQUALITY.
|