Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

TKTokenKeyAlgorithmMBS 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: Cryptographic algorithms used by token keys.
Typically, the supported algorithm for a token key can be represented by a value of the SecKeyAlgorithm enumeration. However, tokens such as Smart Cards require that input data for operations take the format of a more specific algorithm. For example, a token may accept raw data to generate a cryptographic signature, but require that raw data to be formatted according to PKCS1 padding rules. To express such a requirement, a TKTokenKeyAlgorithm object defines a target algorithm and a set of other algorithms that were used. In the previous example, the target algorithm is kSecKeyAlgorithmRSASignatureRaw and the kSecKeyAlgorithmRSASignatureDigestPKCS1v15SHA1 algorithm is also reported as being used.

Requires macOS 10.12+ or newer.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

This class has no sub classes.

Some events for this class:

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

TKTokenDriverMBS   -   TKTokenKeychainCertificateMBS

MBS Xojo Plugins