CryptoTokenKit iOS 12.4 to 13.0 API Differences
TKBase.h
Added
#def TK_EXTERN
TKError.h
Added
TKErrorDomain
Added
TKErrorCode
Added
TKErrorCodeNotImplemented
Added
TKErrorCodeCommunicationError
Added
TKErrorCodeCorruptedData
Added
TKErrorCodeCanceledByUser
Added
TKErrorCodeAuthenticationFailed
Added
TKErrorCodeObjectNotFound
Added
TKErrorCodeTokenNotFound
Added
TKErrorCodeBadParameter
Added
TKErrorCodeAuthenticationNeeded
Added
TKErrorAuthenticationFailed
Added
TKErrorObjectNotFound
Added
TKErrorTokenNotFound
TKSmartCard.h
Added
TKSmartCardSlotManager
Added
TKSmartCardSlotManager.defaultManager
Added
TKSmartCardSlotManager.slotNames
Added
-[TKSmartCardSlotManager getSlotWithName:reply:]
Added
-[TKSmartCardSlotManager slotNamed:]
Added
TKSmartCardSlotState
Added
TKSmartCardSlotStateMissing
Added
TKSmartCardSlotStateEmpty
Added
TKSmartCardSlotStateProbing
Added
TKSmartCardSlotStateMuteCard
Added
TKSmartCardSlotStateValidCard
Added
TKSmartCardPINCharset
Added
TKSmartCardPINCharsetNumeric
Added
TKSmartCardPINCharsetAlphanumeric
Added
TKSmartCardPINCharsetUpperAlphanumeric
Added
TKSmartCardPINEncoding
Added
TKSmartCardPINEncodingBinary
Added
TKSmartCardPINEncodingASCII
Added
TKSmartCardPINEncodingBCD
Added
TKSmartCardPINJustification
Added
TKSmartCardPINJustificationLeft
Added
TKSmartCardPINJustificationRight
Added
TKSmartCardPINCompletion
Added
TKSmartCardPINCompletionMaxLength
Added
TKSmartCardPINCompletionKey
Added
TKSmartCardPINCompletionTimeout
Added
TKSmartCardPINConfirmation
Added
TKSmartCardPINConfirmationNone
Added
TKSmartCardPINConfirmationNew
Added
TKSmartCardPINConfirmationCurrent
Added
TKSmartCardPINFormat
Added
TKSmartCardPINFormat.charset
Added
TKSmartCardPINFormat.encoding
Added
TKSmartCardPINFormat.minPINLength
Added
TKSmartCardPINFormat.maxPINLength
Added
TKSmartCardPINFormat.PINBlockByteLength
Added
TKSmartCardPINFormat.PINJustification
Added
TKSmartCardPINFormat.PINBitOffset
Added
TKSmartCardPINFormat.PINLengthBitOffset
Added
TKSmartCardPINFormat.PINLengthBitSize
Added
TKSmartCardUserInteractionDelegate
Added
-[TKSmartCardUserInteractionDelegate characterEnteredInUserInteraction:]
Added
-[TKSmartCardUserInteractionDelegate correctionKeyPressedInUserInteraction:]
Added
-[TKSmartCardUserInteractionDelegate validationKeyPressedInUserInteraction:]
Added
-[TKSmartCardUserInteractionDelegate invalidCharacterEnteredInUserInteraction:]
Added
-[TKSmartCardUserInteractionDelegate oldPINRequestedInUserInteraction:]
Added
-[TKSmartCardUserInteractionDelegate newPINRequestedInUserInteraction:]
Added
-[TKSmartCardUserInteractionDelegate newPINConfirmationRequestedInUserInteraction:]
Added
TKSmartCardUserInteraction
Added
TKSmartCardUserInteraction.delegate
Added
TKSmartCardUserInteraction.initialTimeout
Added
TKSmartCardUserInteraction.interactionTimeout
Added
-[TKSmartCardUserInteraction runWithReply:]
Added
-[TKSmartCardUserInteraction cancel]
Added
TKSmartCardUserInteractionForPINOperation
Added
TKSmartCardUserInteractionForPINOperation.PINCompletion
Added
TKSmartCardUserInteractionForPINOperation.PINMessageIndices
Added
TKSmartCardUserInteractionForPINOperation.locale
Added
TKSmartCardUserInteractionForPINOperation.resultSW
Added
TKSmartCardUserInteractionForPINOperation.resultData
Added
TKSmartCardUserInteractionForSecurePINVerification
Added
TKSmartCardUserInteractionForSecurePINChange
Added
TKSmartCardUserInteractionForSecurePINChange.PINConfirmation
Added
TKSmartCardSlot
Added
TKSmartCardSlot.state
Added
TKSmartCardSlot.ATR
Added
TKSmartCardSlot.name
Added
TKSmartCardSlot.maxInputLength
Added
TKSmartCardSlot.maxOutputLength
Added
-[TKSmartCardSlot makeSmartCard]
Added
TKSmartCard
Added
TKSmartCard.slot
Added
TKSmartCard.valid
Added
TKSmartCard.allowedProtocols
Added
TKSmartCard.currentProtocol
Added
TKSmartCard.sensitive
Added
TKSmartCard.context
Added
-[TKSmartCard beginSessionWithReply:]
Added
-[TKSmartCard transmitRequest:reply:]
Added
-[TKSmartCard endSession]
Added
-[TKSmartCard userInteractionForSecurePINVerificationWithPINFormat:APDU:PINByteOffset:]
Added
-[TKSmartCard userInteractionForSecurePINChangeWithPINFormat:APDU:currentPINByteOffset:newPINByteOffset:]
Added
TKSmartCard.cla
Added
TKSmartCard.useExtendedLength
Added
TKSmartCard.useCommandChaining
Added
-[TKSmartCard sendIns:p1:p2:data:le:reply:]
Added
-[TKSmartCard inSessionWithError:executeBlock:]
Added
-[TKSmartCard sendIns:p1:p2:data:le:sw:error:]
TKSmartCardATR.h
Added
TKSmartCardProtocol
Added
TKSmartCardProtocolNone
Added
TKSmartCardProtocolT0
Added
TKSmartCardProtocolT1
Added
TKSmartCardProtocolT15
Added
TKSmartCardProtocolAny
Added
TKSmartCardATRInterfaceGroup
Added
TKSmartCardATRInterfaceGroup.TA
Added
TKSmartCardATRInterfaceGroup.TB
Added
TKSmartCardATRInterfaceGroup.TC
Added
TKSmartCardATRInterfaceGroup.protocol
Added
TKSmartCardATR
Added
-[TKSmartCardATR initWithBytes:]
Added
-[TKSmartCardATR initWithSource:]
Added
TKSmartCardATR.bytes
Added
TKSmartCardATR.protocols
Added
-[TKSmartCardATR interfaceGroupAtIndex:]
Added
-[TKSmartCardATR interfaceGroupForProtocol:]
Added
TKSmartCardATR.historicalBytes
Added
TKSmartCardATR.historicalRecords
TKSmartCardToken.h
Added
TKTokenSmartCardPINAuthOperation
Added
TKTokenSmartCardPINAuthOperation.PINFormat
Added
TKTokenSmartCardPINAuthOperation.APDUTemplate
Added
TKTokenSmartCardPINAuthOperation.PINByteOffset
Added
TKTokenSmartCardPINAuthOperation.smartCard
Added
TKTokenSmartCardPINAuthOperation.PIN
Added
TKSmartCardTokenSession
Added
TKSmartCardTokenSession.smartCard
Added
TKSmartCardToken
Added
-[TKSmartCardToken initWithSmartCard:AID:instanceID:tokenDriver:]
Added
TKSmartCardToken.AID
Added
TKSmartCardTokenDriver
Added
TKSmartCardTokenDriverDelegate
Added
-[TKSmartCardTokenDriverDelegate tokenDriver:createTokenForSmartCard:AID:error:]
TKTLVRecord.h
Added
TKTLVTag
Added
TKTLVRecord
Added
TKTLVRecord.tag
Added
TKTLVRecord.value
Added
TKTLVRecord.data
Added
+[TKTLVRecord recordFromData:]
Added
+[TKTLVRecord sequenceOfRecordsFromData:]
Added
TKBERTLVRecord
Added
+[TKBERTLVRecord dataForTag:]
Added
-[TKBERTLVRecord initWithTag:value:]
Added
-[TKBERTLVRecord initWithTag:records:]
Added
TKSimpleTLVRecord
Added
-[TKSimpleTLVRecord initWithTag:value:]
Added
TKCompactTLVRecord
Added
-[TKCompactTLVRecord initWithTag:value:]
TKToken.h
Added
TKTokenObjectID
Added
TKTokenInstanceID
Added
TKTokenDriverClassID
Added
TKTokenOperation
Added
TKTokenOperationNone
Added
TKTokenOperationReadData
Added
TKTokenOperationSignData
Added
TKTokenOperationDecryptData
Added
TKTokenOperationPerformKeyExchange
Added
TKTokenOperationConstraint
Added
TKTokenKeyAlgorithm
Added
-[TKTokenKeyAlgorithm isAlgorithm:]
Added
-[TKTokenKeyAlgorithm supportsAlgorithm:]
Added
TKTokenKeyExchangeParameters
Added
TKTokenKeyExchangeParameters.requestedSize
Added
TKTokenKeyExchangeParameters.sharedInfo
Added
TKTokenSession
Added
-[TKTokenSession initWithToken:]
Added
TKTokenSession.token
Added
TKTokenSession.delegate
Added
TKTokenSessionDelegate
Added
-[TKTokenSessionDelegate tokenSession:beginAuthForOperation:constraint:error:]
Added
-[TKTokenSessionDelegate tokenSession:supportsOperation:usingKey:algorithm:]
Added
-[TKTokenSessionDelegate tokenSession:signData:usingKey:algorithm:error:]
Added
-[TKTokenSessionDelegate tokenSession:decryptData:usingKey:algorithm:error:]
Added
-[TKTokenSessionDelegate tokenSession:performKeyExchangeWithPublicKey:usingKey:algorithm:parameters:error:]
Added
TKToken
Added
-[TKToken initWithTokenDriver:instanceID:]
Added
TKToken.tokenDriver
Added
TKToken.delegate
Added
TKToken.configuration
Added
TKToken.keychainContents
Added
TKTokenDelegate
Added
-[TKTokenDelegate token:createSessionWithError:]
Added
-[TKTokenDelegate token:terminateSession:]
Added
TKTokenDriver
Added
TKTokenDriver.delegate
Added
TKTokenDriverDelegate
Added
-[TKTokenDriverDelegate tokenDriver:tokenForConfiguration:error:]
Added
-[TKTokenDriverDelegate tokenDriver:terminateToken:]
Added
TKTokenAuthOperation
Added
-[TKTokenAuthOperation finishWithError:]
Added
TKTokenPasswordAuthOperation
Added
TKTokenPasswordAuthOperation.password
TKTokenConfiguration.h
Added
TKTokenDriverConfiguration
Added
TKTokenDriverConfiguration.driverConfigurations
Added
TKTokenDriverConfiguration.classID
Added
TKTokenDriverConfiguration.tokenConfigurations
Added
-[TKTokenDriverConfiguration addTokenConfigurationForTokenInstanceID:]
Added
-[TKTokenDriverConfiguration removeTokenConfigurationForTokenInstanceID:]
Added
TKTokenConfiguration
Added
TKTokenConfiguration.instanceID
Added
TKTokenConfiguration.configurationData
Added
TKTokenConfiguration.keychainItems
Added
-[TKTokenConfiguration keyForObjectID:error:]
Added
-[TKTokenConfiguration certificateForObjectID:error:]
TKTokenKeychainItem.h
Added
TKTokenKeychainItem
Added
-[TKTokenKeychainItem initWithObjectID:]
Added
TKTokenKeychainItem.objectID
Added
TKTokenKeychainItem.label
Added
TKTokenKeychainItem.constraints
Added
TKTokenKeychainCertificate
Added
-[TKTokenKeychainCertificate initWithCertificate:objectID:]
Added
TKTokenKeychainCertificate.data
Added
TKTokenKeychainKey
Added
-[TKTokenKeychainKey initWithCertificate:objectID:]
Added
TKTokenKeychainKey.keyType
Added
TKTokenKeychainKey.applicationTag
Added
TKTokenKeychainKey.keySizeInBits
Added
TKTokenKeychainKey.publicKeyData
Added
TKTokenKeychainKey.publicKeyHash
Added
TKTokenKeychainKey.canDecrypt
Added
TKTokenKeychainKey.canSign
Added
TKTokenKeychainKey.canPerformKeyExchange
Added
TKTokenKeychainKey.suitableForLogin
Added
TKTokenKeychainContents
Added
-[TKTokenKeychainContents fillWithItems:]
Added
TKTokenKeychainContents.items
Added
-[TKTokenKeychainContents keyForObjectID:error:]
Added
-[TKTokenKeychainContents certificateForObjectID:error:]
TKTokenWatcher.h
Added
TKTokenWatcher
Added
TKTokenWatcher.tokenIDs
Added
-[TKTokenWatcher init]
Added
-[TKTokenWatcher initWithInsertionHandler:]
Added
-[TKTokenWatcher setInsertionHandler:]
Added
-[TKTokenWatcher addRemovalHandler:forTokenID:]