Cipherpack v1.2.0-dirty
A Cryprographic Stream Processor
Static Public Member Functions | Static Public Attributes | List of all members
org.cipherpack.CPFactory Class Reference

Cipherpack Factory, called by automatically to load the native library. More...

Collaboration diagram for org.cipherpack.CPFactory:

Static Public Member Functions

static void checkInitialized ()
 
static< T > T doPrivileged (final PrivilegedAction< T > o)
 Deprecated call to java.security.AccessController#doPrivileged(PrivilegedAction) w/o warnings. More...
 
static final String getAPIVersion ()
 Manifest's Attributes.Name#SPECIFICATION_VERSION or null if not available. More...
 
static final String getImplVersion ()
 Manifest's Attributes.Name#IMPLEMENTATION_VERSION or null if not available. More...
 
static final Manifest getManifest (final ClassLoader cl, final String[] extensions)
 Helper function to retrieve a Manifest instance. More...
 
static native String getNativeAPIVersion ()
 
static native String getNativeVersion ()
 
static synchronized void initLibrary ()
 
static boolean isInitialized ()
 
static void main (final String args[])
 

Static Public Attributes

static final boolean DEBUG
 Debug logging enabled or disabled. More...
 
static final boolean JAULIB_AVAILABLE
 True if jaulib org.jau.sys.PlatformProps has been detected. More...
 
static final boolean JAULIB_JARCACHE_USED
 True if jaulib JAULIB_AVAILABLE and its org.jau.sys.PlatformProps#USE_TEMP_JAR_CACHE is true, i.e. More...
 
static final boolean VERBOSE
 Verbose logging enabled or disabled. More...
 

Detailed Description

Cipherpack Factory, called by automatically to load the native library.

Further provides access to certain property settings, see DEBUG, VERBOSE.

Definition at line 47 of file CPFactory.java.

Member Function Documentation

◆ getAPIVersion()

static final String org.cipherpack.CPFactory.getAPIVersion ( )
static

Manifest's Attributes.Name#SPECIFICATION_VERSION or null if not available.

Definition at line 52 of file CPFactory.java.

Here is the caller graph for this function:

◆ getImplVersion()

static final String org.cipherpack.CPFactory.getImplVersion ( )
static

Manifest's Attributes.Name#IMPLEMENTATION_VERSION or null if not available.

Definition at line 58 of file CPFactory.java.

Here is the caller graph for this function:

◆ doPrivileged()

static< T > T org.cipherpack.CPFactory.doPrivileged ( final PrivilegedAction< T >  o)
static

Deprecated call to java.security.AccessController#doPrivileged(PrivilegedAction) w/o warnings.

Parameters
<T>
o
Returns

Definition at line 95 of file CPFactory.java.

◆ checkInitialized()

static void org.cipherpack.CPFactory.checkInitialized ( )
static

Definition at line 269 of file CPFactory.java.

Here is the caller graph for this function:

◆ isInitialized()

static boolean org.cipherpack.CPFactory.isInitialized ( )
static

Definition at line 274 of file CPFactory.java.

Here is the caller graph for this function:

◆ initLibrary()

static synchronized void org.cipherpack.CPFactory.initLibrary ( )
static

Definition at line 278 of file CPFactory.java.

Here is the caller graph for this function:

◆ getManifest()

static final Manifest org.cipherpack.CPFactory.getManifest ( final ClassLoader  cl,
final String[]  extensions 
)
static

Helper function to retrieve a Manifest instance.

Definition at line 285 of file CPFactory.java.

Here is the caller graph for this function:

◆ main()

static void org.cipherpack.CPFactory.main ( final String  args[])
static

Definition at line 328 of file CPFactory.java.

Here is the caller graph for this function:

◆ getNativeVersion()

static native String org.cipherpack.CPFactory.getNativeVersion ( )
static
Here is the caller graph for this function:

◆ getNativeAPIVersion()

static native String org.cipherpack.CPFactory.getNativeAPIVersion ( )
static
Here is the caller graph for this function:

Member Data Documentation

◆ VERBOSE

final boolean org.cipherpack.CPFactory.VERBOSE
static

Verbose logging enabled or disabled.

System property org.cipherpack.verbose, boolean, default false.

Definition at line 67 of file CPFactory.java.

◆ DEBUG

final boolean org.cipherpack.CPFactory.DEBUG
static

Debug logging enabled or disabled.

System property org.cipherpack.debug, boolean, default false.

Definition at line 75 of file CPFactory.java.

◆ JAULIB_AVAILABLE

final boolean org.cipherpack.CPFactory.JAULIB_AVAILABLE
static

True if jaulib org.jau.sys.PlatformProps has been detected.

Definition at line 80 of file CPFactory.java.

◆ JAULIB_JARCACHE_USED

final boolean org.cipherpack.CPFactory.JAULIB_JARCACHE_USED
static

True if jaulib JAULIB_AVAILABLE and its org.jau.sys.PlatformProps#USE_TEMP_JAR_CACHE is true, i.e.

the jar cache is available, enabled and in use.

Definition at line 86 of file CPFactory.java.


The documentation for this class was generated from the following file: