Class MongoCrypts


  • public class MongoCrypts
    extends java.lang.Object
    The 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 MongoCrypt create​(MongoCryptOptions options)
      Create a MongoCrypt instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MongoCrypts

        public MongoCrypts()
    • Method Detail

      • create

        public static MongoCrypt create​(MongoCryptOptions options)
        Create a MongoCrypt instance.

        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