def closeAllSessions(self, slot):
        """
        C_CloseAllSessions

        :param slot: slot number
        :type slot: integer
        """
        rv = self.lib.C_CloseAllSessions(slot)
        if rv != CKR_OK:
            raise PyKCS11Error(rv)
def closeAllSessions(self, slot):
        """
        C_CloseAllSessions

        :param slot: slot number
        :type slot: integer
        """
        rv = self.lib.C_CloseAllSessions(slot)
        if rv != CKR_OK:
            raise PyKCS11Error(rv)
def closeAllSessions ( self , slot ) : rv = self . lib . C_CloseAllSessions ( slot ) if rv != CKR_OK : raise PyKCS11Error ( rv )
C_CloseAllSessions

        :param slot: slot number
        :type slot: integer
C_CloseAllSessions