CSFLE CompatibilityCSFLE兼容性
This page describes the MongoDB and driver versions with which Client-Side Field Level Encryption is compatible.本页介绍了与客户端字段级加密兼容的MongoDB和驱动程序版本。
MongoDB Edition and Version CompatibilityMongoDB版本和版本兼容性
Automatic encryption with Client-Side Field Level Encryption is only available with MongoDB Enterprise Edition, version 4.2 or later.客户端字段级加密的自动加密仅适用于MongoDB Enterprise Edition 4.2或更高版本。
Manual encryption with Client-Side Field Level Encryption is available with MongoDB Community and Enterprise Edition, version 4.2 or later.MongoDB Community and Enterprise Edition 4.2或更高版本提供使用客户端字段级加密的手动加密。
Driver Compatibility Table驱动程序兼容性表
Client-Side Field Level Encryption is only available the following official compatible driver versions or later:客户端字段级加密仅适用于以下官方兼容的驱动程序版本或更高版本:
| Driver | ||
|---|---|---|
| Node | 3.4.0+ | Node.js Quickstart Client-Side Field Level Encryption Guide |
| Java | 3.12.0+ | Java Driver Quickstart Java Async Driver Quickstart Client-Side Field Level Encryption Guide |
| Java Reactive Streams | 1.13.0+ | Java RS Documentation |
| Python (PyMongo) | 3.10.0+ | Python Driver Quickstart Client-Side Field Level Encryption Guide |
| C#/.NET | 2.10.0+ | .NET Driver Quickstart |
| C | 1.17.5 | C Driver Client-Side Field Level Encryption |
| Go | 1.2+ | Go Driver Quickstart |
| Scala | 2.8.0+ | Scala Documentation |
| PHP | 1.6.0+ | PHP Driver Quickstart |
| Ruby | 2.12.1+ | Ruby Driver Quickstart |
Key Rotation Support按键旋转支持
To use the key rotation API of CSFLE, such as the 要使用CSFLE的键轮换API,如rewrapManyDateKey method, you must use specific versions of either your driver's binding package or libmongocrypt.rewriteManyDateKey方法,您必须使用驱动程序绑定包或libmongocrypt的特定版本。
The following list details each driver's key rotation API dependencies:以下列表详细说明了每个驱动程序的键轮换API依赖关系:
Node.js Driver: UseNode.js驱动程序:使用mongodb-client-encryptionversion 2.2.0-alpha.6 or later.mongodb-client-encryption版本2.2.0-alpha.6或更高版本。Java Driver: UseJava驱动程序:使用mongodb-cryptversion 1.7.3 or later.mongodb-crypt1.7.3或更高版本。pymongo: Usepymongo:使用pymongocryptversion 1.3.1 or later.pymongocrypt1.3.1或更高版本。Go Driver: UseGo驱动程序:使用libmongocryptversion 1.5.2 or later.libmongocrypt1.5.2或更高版本。C#/.NET Driver: Use the MongoDB C#/.NET Driver version 2.17.1 or later.C#/.NET驱动程序:使用MongoDB C#/NET驱动程序2.17.1或更高版本。
Please refer to the driver reference documentation for syntax and implementation examples.有关语法和实现示例,请参阅驱动程序参考文档。