TKTokenSessionMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

TKTokenSessionMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class SmartCard MBS Mac64bit Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes All
A token session that manages the authentication state of a token.

A token session communicates with its delegate to perform operations with its token that are bound to the authentication state.

A session is always instantiated by a TKTokenMBS instance through the token's delegate when the framework detects access to the token from a new authentication session.

Never share the authentication status of a token, such as the PIN entered to unlock a smart card, with other token sessions.

Token Operations

Constant Value Description
kTokenOperationDecryptData 3 Decrypt data using a private key.
kTokenOperationNone 0 No operation.
kTokenOperationPerformKeyExchange 4 Perform a Diffie-Hellman style cryptographic key exchange using a private key.
kTokenOperationReadData 1 Read raw data of a certificate.
kTokenOperationSignData 2 Create a cryptographic signature using a private key.

Sub classes:

Some events using this class:


The items on this page are in the following plugins: MBS Mac64bit Plugin.


TKTokenPasswordAuthOperationMBS   -   TKTokenSmartCardPINAuthOperationMBS


💬 Ask a question or report a problem