Method Summary |
|
native public static int | closeBIO(long bio) Close BIO and derefrence callback object
Parameters: bio - BIO to close and destroy. |
native public static boolean | generateRSATempKey(int idx) Generate temporary RSA key. |
native public static String | getLastError() |
native public static int | initialize(String engine) Initialize OpenSSL support.
This function needs to be called once for the
lifetime of JVM. |
native public static boolean | loadDSATempKey(int idx, String file) |
native public static long | newBIO(long pool, BIOCallback callback) |
native public static boolean | randLoad(String filename) |
native public static boolean | randMake(String filename, int len, boolean base64) |
native public static boolean | randSave(String filename) Writes a number of random bytes (currently 1024) to
file filename which can be used to initialize the PRNG
by calling randLoad in a later session. |
native public static void | setPassword(String password) Set global Password for decrypting certificates and keys. |
native public static void | setPasswordCallback(PasswordCallback callback) Set global Password callback for obtaining passwords. |
native public static int | version() |
native public static String | versionString() |