|
IAIK PKCS#11 Wrapper version 1.2.18 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Objects that implement this interface can be used in the InitializeArgs to handle mutex functionality.
| Method Summary | |
java.lang.Object |
createMutex()
Create a new mutex object. |
void |
destroyMutex(java.lang.Object mutex)
Destroy a mutex object. |
void |
lockMutex(java.lang.Object mutex)
If this method is called on with a mutex object which is not locked, the calling thread obtains a lock on that mutex object and returns. |
void |
unlockMutex(java.lang.Object mutex)
If this method is called with a mutex object which is locked by the calling thread, that mutex object is unlocked and the function call returns. |
| Method Detail |
public java.lang.Object createMutex()
throws PKCS11Exception
PKCS11Exception - If the wrapper should return a differnet value
than CKR_OK to the library. It gets the
error-code and returns it as CK_RV.
public void destroyMutex(java.lang.Object mutex)
throws PKCS11Exception
mutex - The mutex object to destroy.PKCS11Exception - If the wrapper should return a differnet value
than CKR_OK to the library. It gets the
error-code and returns it as CK_RV.
public void lockMutex(java.lang.Object mutex)
throws PKCS11Exception
mutex - The mutex object to lock.PKCS11Exception - If the wrapper should return a differnet value
than CKR_OK to the library. It gets the
error-code and returns it as CK_RV.
public void unlockMutex(java.lang.Object mutex)
throws PKCS11Exception
mutex - The mutex object to unlock.PKCS11Exception - If the wrapper should return a differnet value
than CKR_OK to the library. It gets the
error-code and returns it as CK_RV.
|
IAIK PKCS#11 Wrapper version 1.2.18 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||