tokenSession(_:performKeyExchange:keyObjectID:algorithm:parameters:)
Tells the delegate to perform a key exchange using the specified key and algorithm.
Declaration
optional func tokenSession(_ session: TKTokenSession, performKeyExchange otherPartyPublicKeyData: Data, keyObjectID objectID: TKToken.ObjectID, algorithm: TKTokenKeyAlgorithm, parameters: TKTokenKeyExchangeParameters) throws -> DataParameters
- session:
The token session.
- otherPartyPublicKeyData:
The public key of the other party.
- objectID:
The identifier of the private key object.
- algorithm:
The algorithm to be used for key exchange.
- parameters:
Additional parameters used by
algorithmto perform the key exchange.
Return Value
The result of the key exchange, or nil if an error occurred.