close-all-sessions close-session get-operation-state get-session-info login logout open-session
(close-all-sessions p11-obj slot-id)
Closes all sessions an application has with a token.
(close-session session-obj)
Closes a session between an application and a token.
(get-operation-state session-obj)
Returns the cryptographic operations state of a session in string.
(get-session-info session-obj)
Returns an information about a session.
(login session-obj user-type pin)
Logs a user into a token. `user-type` must be one of the following: :so, :user, or :context-specific. Returns `session-obj`, if successful.
(logout session-obj)
Logs a user out from a token. Returns `session-obj`, if successful.
(open-session p11-obj slot-id &opt :read-only)
Opens a session between an application and a token in a particular slot. Opens R/W session unless `:read-only` is passed. Returns `session-obj`, if successful.