Protocol

TKTokenSessionDelegate

The interface that a session instance delegate implements to respond to token session authentication events.

Declaration

@protocol TKTokenSessionDelegate

Topics

Determining Support for Operations

- tokenSession:supportsOperation:usingKey:algorithm:

Asks the delegate whether the token session supports a given operation using the specified key and algorithm.

TKTokenOperation

Operations that can be performed with a token's keys and certificates.

TKTokenObjectID

A unique and persistent identifier of a particular token object.

TKTokenKeyAlgorithm

Cryptographic algorithms used by token keys.

Authenticating

- tokenSession:beginAuthForOperation:constraint:error:

Tells the delegate that authentication has begun for the specified operation and constraint.

TKTokenOperationConstraint

A token's authentication constraint for a specific operation.

TKTokenAuthOperation

An authentication operation for a cryptographic token.

TKTokenPasswordAuthOperation

A password-based authentication operation.

TKTokenSmartCardPINAuthOperation

A Smart Card PIN authentication operation.

Performing Cryptographic Operations

- tokenSession:signData:usingKey:algorithm:error:

Tells the delegate to sign a data object using the specified key and algorithm.

- tokenSession:decryptData:usingKey:algorithm:error:

Tells the delegate to decrypt a data object using the specified key and algorithm.

- tokenSession:performKeyExchangeWithPublicKey:usingKey:algorithm:parameters:error:

Tells the delegate to perform a key exchange using the specified key and algorithm.

TKTokenKeyExchangeParameters

Parameters used to perform specific key exchange operations.

Relationships

Inherits From

See Also

Responding to Authentication Events

delegate

The token session delegate.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software