类 Library


  • public final class Library
    extends Object
    • 方法详细资料

      • initialize

        public static boolean initialize()
                                  throws Exception
        Calls initialize(String, String) with "provided" and null.
        返回:
        true if initialization was successful
        抛出:
        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!
        参数:
        libraryName - the name of the library to load
        engine - Support for external a Crypto Device ("engine"), usually
        返回:
        true if initialization was successful
        抛出:
        Exception - if an error happens during initialization