Package org.apache.commons.crypto
Class OpenSslInfoNative
- java.lang.Object
-
- org.apache.commons.crypto.OpenSslInfoNative
-
final class OpenSslInfoNative extends java.lang.ObjectJNI interface ofCryptoRandomimplementation for OpenSSL. The native method in this class is defined in OpenSslCryptoRandomNative.h (generated at build time by javah) and implemented in the file src/main/native/org/apache/commons/crypto/random/OpenSslCryptoRandomNative.c
-
-
Constructor Summary
Constructors Modifier Constructor Description privateOpenSslInfoNative()Makes the constructor private.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringDLLName()Return the name used to load the dynamic linked library.static java.lang.StringDLLPath()Return the path to the loaded dynamic linked library.static java.lang.StringNativeName()static java.lang.StringNativeTimeStamp()static java.lang.StringNativeVersion()static longOpenSSL()static java.lang.StringOpenSSLVersion(int type)Returns OpenSSL_version according the version type.
-
-
-
Method Detail
-
DLLName
public static java.lang.String DLLName()
Return the name used to load the dynamic linked library.- Returns:
- the name used to load the library (e.g. crypto.dll)
-
DLLPath
public static java.lang.String DLLPath()
Return the path to the loaded dynamic linked library. [Currently not implemented on Windows]- Returns:
- the path to the library that was loaded; may be null.
-
NativeName
public static java.lang.String NativeName()
- Returns:
- name of native
-
NativeTimeStamp
public static java.lang.String NativeTimeStamp()
- Returns:
- timestamp of native
-
NativeVersion
public static java.lang.String NativeVersion()
- Returns:
- version of native
-
OpenSSL
public static long OpenSSL()
- Returns:
- the value of OPENSSL_VERSION_NUMBER.
-
OpenSSLVersion
public static java.lang.String OpenSSLVersion(int type)
Returns OpenSSL_version according the version type.- Parameters:
type- The version type- Returns:
- The text variant of the version number and the release date.
-
-