public class SessionInfo extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
SessionInfo(CK_SESSION_INFO ckSessionInfo)
Constructor taking a CK_SESSION_INFO object that provides the
information.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getDeviceError()
Get the current device error-code of the token.
|
long |
getState()
Get the current state of this session.
|
boolean |
isRwSession()
Check, if this is a read-write session.
|
boolean |
isSerialSession()
Check, if this is a serial session.
|
String |
toString()
Returns the string representation of this object.
|
protected SessionInfo(CK_SESSION_INFO ckSessionInfo)
ckSessionInfo - The object providing the session information.public long getState()
public long getDeviceError()
public boolean isRwSession()
public boolean isSerialSession()
Copyright © 2023. All rights reserved.