(mongodb >=1.7.0)
The MongoDB\Driver\ClientEncryption class handles creation of data keys for client-side encryption, as well as manually encrypting and decrypting values.
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" driver option. The "bypassQueryAnalysis" auto encryption option may be true. The "bypassAutoEncryption" auto encryption option must be false.
MongoDB\Driver\ClientEncryption::ALGORITHM_UNINDEXEDMongoDB\Driver\ClientEncryption::ALGORITHM_RANGE"autoEncryption" driver option. The
"bypassQueryAnalysis" auto encryption option may be
true. The "bypassAutoEncryption" auto encryption
option must be false.
Bilginize: The extension does not yet support range queries for Decimal128 BSON field types.
MongoDB\Driver\ClientEncryption::QUERY_TYPE_EQUALITYMongoDB\Driver\ClientEncryption::ALGORITHM_INDEXED.
MongoDB\Driver\ClientEncryption::QUERY_TYPE_RANGEMongoDB\Driver\ClientEncryption::ALGORITHM_RANGE.
| Sürüm: | Açıklama |
|---|---|
| PECL mongodb 2.0.0 |
Removed MongoDB\Driver\ClientEncryption::ALGORITHM_RANGE_PREVIEW
and MongoDB\Driver\ClientEncryption::QUERY_TYPE_RANGE_PREVIEW.
|
| PECL mongodb 1.20.0 |
Added MongoDB\Driver\ClientEncryption::ALGORITHM_RANGE
and MongoDB\Driver\ClientEncryption::QUERY_TYPE_RANGE.
Deprecated MongoDB\Driver\ClientEncryption::ALGORITHM_RANGE_PREVIEW
and MongoDB\Driver\ClientEncryption::QUERY_TYPE_RANGE_PREVIEW.
|
| PECL mongodb 1.16.0 |
Added MongoDB\Driver\ClientEncryption::ALGORITHM_RANGE_PREVIEW
and MongoDB\Driver\ClientEncryption::QUERY_TYPE_RANGE_PREVIEW.
|
| PECL mongodb 1.14.0 |
Added MongoDB\Driver\ClientEncryption::ALGORITHM_INDEXED,
MongoDB\Driver\ClientEncryption::ALGORITHM_UNINDEXED,
and MongoDB\Driver\ClientEncryption::QUERY_TYPE_EQUALITY.
|