iaik.pkcs.pkcs11
Interface InitializeArgs
- All Known Implementing Classes:
- DefaultInitializeArgs
- public interface InitializeArgs
The interface that an object must implement to be a valid parameter for the
initialize method of a Module object.
- Invariants
|
Method Summary |
MutexHandler |
getMutexHandler()
This method returns the object that implements the functionality for
handling mutexes. |
Object |
getReserved()
Reserved parameter. |
boolean |
isLibraryCantCreateOsThreads()
Check, if application threads which are executing calls to the library may
not use native operating system calls to spawn new threads. |
boolean |
isOsLockingOk()
Check, if the library can use the native operation system threading model
for locking. |
getMutexHandler
public MutexHandler getMutexHandler()
- This method returns the object that implements the functionality for
handling mutexes. It returns null, if no handler is set. If this method
returns null, the wrapper does not pass any callback functions to the
underlying module; i.e. is passes null-pointer for the functions.
- Returns:
- The handler object for mutex functionality, or null, if there is
no handler for mutexes.
- Preconditions
- Postconditions
isLibraryCantCreateOsThreads
public boolean isLibraryCantCreateOsThreads()
- Check, if application threads which are executing calls to the library may
not use native operating system calls to spawn new threads.
- Returns:
- True, if application threads which are executing calls to the
library may not use native operating system calls to spawn new
threads. False, if they may.
- Preconditions
- Postconditions
isOsLockingOk
public boolean isOsLockingOk()
- Check, if the library can use the native operation system threading model
for locking.
- Returns:
- True, if the library can use the native operation system threading
model for locking. Fasle, otherwise.
- Preconditions
- Postconditions
getReserved
public Object getReserved()
- Reserved parameter.
- Returns:
- Should be null in this version.
- Preconditions
- Postconditions
- (result == null)
IAIK JavaSecurity Website http://jce.iaik.tugraz.at/
IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2002, IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved.