Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

TKTokenSessionMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class SmartCard MBS Mac64bit Plugin 18.5 Yes No No Yes, macOS only No
Function: 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.

Feedback, Comments & Corrections

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 for this class:

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

TKTokenPasswordAuthOperationMBS   -   TKTokenSmartCardPINAuthOperationMBS

MBS Xojo Chart Plugins