|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--User
The person using an application that interface to Cryptoki.
| Constructor Summary | |
User()
|
|
| Method Summary | |
void |
login(Session session,
long userType,
char Pin,
long pinLen)
Logs a user into a token. |
void |
logout(Session session)
Logs a user out from a token. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public User()
| Method Detail |
public void login(Session session,
long userType,
char Pin,
long pinLen)
throws OoctiException
session - Session handle.userType - The type of User.Pin - User's Pin.pinLen - Length of the Pin.ARGUMENTS_BAD - CRYPTOKI_NOT_INITIALIZED - DEVICE_ERROR - DEVICE_MEMORY - DEVICE_REMOVED - FUNCTION_FAILED - GENERAL_ERROR - HOST_MEMORY - PIN_EXPIRED - PIN_INCORRECT - PIN_LOCKED - SESSION_CLOSED - SESSION_HANDLE_INVALID - SESSION_READ_ONLY_EXISTS - USER_ALREADY_LOGGED_IN - USER_ANOTHER_ALREADY_LOGGED_IN - USER_PIN_NOT_INITIALIZED - USER_TOO_MANY_TYPES - USER_TYPE_INVALID -
public void logout(Session session)
throws OoctiException
session - Session's handle.CRYPTOKI_NOT_INITIALIZED - DEVICE_ERROR - DEVICE_MEMORY - DEVICE_REMOVED - FUNCTION_FAILED - GENERAL_ERROR - HOST_MEMORY - SESSION_CLOSED - SESSION_HANDLE_INVALID - USER_NOT_LOGGED_IN -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||