public final class Library
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static boolean |
initialize()
|
static boolean |
initialize(java.lang.String libraryName,
java.lang.String engine)
Setup native library.
|
public static boolean initialize() throws java.lang.Exception
true
if initialization was successfuljava.lang.Exception
- if an error happens during initializationpublic static boolean initialize(java.lang.String libraryName, java.lang.String engine) throws java.lang.Exception
libraryName
- the name of the library to loadengine
- Support for external a Crypto Device ("engine"), usuallytrue
if initialization was successfuljava.lang.Exception
- if an error happens during initialization