|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--User
|
+--SOUser
Security officer user, this user initialize a token and set the normal user's PIN
| Constructor Summary | |
SOUser()
|
|
| Method Summary | |
void |
initPin(NormalUser normalUser)
Initialize the normal user's PIN. |
void |
initToken(Token token,
char pin,
long pinLen)
Initialize a token. |
| Methods inherited from class User |
login, logout |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SOUser()
| Method Detail |
public void initToken(Token token,
char pin,
long pinLen)
throws OoctiException
token - pin - SoUser's initial PIN.pinLen - The length in bytes of the PIN.CRYPTOKI_NOT_INITIALIZED - DEVICE_ERROR - DEVICE_MEMORY - DEVICE_REMOVED - FUNCTION_FAILED - GENERAL_ERROR - HOST_MEMORY - PIN_INCORRECT - PIN_LOCKED - SESSION_EXISTS - SLOT_ID_INVALID - TOKEN_NOT_PRESENT - TOKEN_NOT_RECOGNIZED - TOKEN_WRITE_PROTECTED - ARGUMENTS_BAD -
public void initPin(NormalUser normalUser)
throws OoctiException
CRYPTOKI_NOT_INITIALIZED - DEVICE_ERROR - DEVICE_MEMORY - DEVICE_REMOVED - FUNCTION_FAILED - GENERAL_ERROR - HOST_MEMORY - PIN_INCORRECT - PIN_INVALID - PIN_LEN_RANGE - PIN_LOCKED - SESSION_CLOSED - SESSION_HANDLE_INVALID - SESSION_READ_ONLY - TOKEN_WRITE_PROTECTED - ARGUMENTS_BAD -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||