Method: PKCS11::Session#C_Logout

Defined in:
lib/pkcs11/session.rb

#C_LogoutPKCS11::Session Also known as: logout

Logs a user out from a token.

Depending on the current user type, if the call succeeds, each of the application’s sessions will enter either the “R/W Public Session” state or the “R/O Public Session” state.

Returns:



51
52
53
54
# File 'lib/pkcs11/session.rb', line 51

def C_Logout()
  @pk.C_Logout(@sess)
  self
end