Class Library


  • public final class Library
    extends Object
    • Method Detail

      • initialize

        public static boolean initialize()
                                  throws Exception
        Calls initialize(String, String) with "provided" and null.
        Returns:
        true if initialization was successful
        Throws:
        Exception - if an error happens during initialization
      • initialize

        public static boolean initialize​(String libraryName,
                                         String engine)
                                  throws Exception
        Setup native library. This is the first method that must be called!
        Parameters:
        libraryName - the name of the library to load
        engine - Support for external a Crypto Device ("engine"), usually
        Returns:
        true if initialization was successful
        Throws:
        Exception - if an error happens during initialization