Package com.mongodb.crypt.capi
Class MongoCrypts
- java.lang.Object
-
- com.mongodb.crypt.capi.MongoCrypts
-
public class MongoCrypts extends java.lang.ObjectThe entry point to the MongoCrypt library.
-
-
Constructor Summary
Constructors Constructor Description MongoCrypts()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MongoCryptcreate(MongoCryptOptions options)Create aMongoCryptinstance.
-
-
-
Method Detail
-
create
public static MongoCrypt create(MongoCryptOptions options)
Create aMongoCryptinstance.Make sure that JNA is able to find the shared library, most likely by setting the jna.library.path system property
- Parameters:
options- the options- Returns:
- the instance
-
-