CryptoTokenKit Changes for Objective-C
CryptoTokenKit
TKError.h
Added TKErrorCodeBadParameter
Added TKErrorCodeTokenNotFound
Modified TKErrorAuthenticationFailed
Deprecation | |
---|---|
From | -- |
To | OS X 10.11 |
Modified TKErrorObjectNotFound
Deprecation | |
---|---|
From | -- |
To | OS X 10.11 |
Modified TKErrorTokenNotFound
Deprecation | |
---|---|
From | -- |
To | OS X 10.11 |
TKSmartCard.h
Removed TKSmartCardNoSlot
Removed TKSmartCardSlotEmpty
Removed TKSmartCardSlotMuteCard
Removed TKSmartCardSlotProbing
Removed TKSmartCardSlotValidCard
Added TKSmartCardPINFormat
Added TKSmartCardPINCharset
Added TKSmartCardPINCompletion
Added TKSmartCardPINEncoding
Declaration | |
---|---|
From | - (void)beginSessionWithReply:(void (^)(BOOL success, NSError *error))reply |
To | - (void)beginSessionWithReply:(void (^ _Nonnull)(BOOL success, NSError * _Nullable error))reply |
Modified TKSmartCard.context
Declaration | |
---|---|
From | @property id context |
To | @property(nullable) id context |
Declaration | |
---|---|
From | - (void)sendIns:(UInt8)ins p1:(UInt8)p1 p2:(UInt8)p2 data:(NSData *)requestData le:(NSNumber *)le reply:(void (^)(NSData *replyData, UInt16 sw, NSError *error))reply |
To | - (void)sendIns:(UInt8)ins p1:(UInt8)p1 p2:(UInt8)p2 data:(NSData * _Nonnull)requestData le:(NSNumber * _Nullable)le reply:(void (^ _Nonnull)(NSData * _Nullable replyData, UInt16 sw, NSError * _Nullable error))reply |
Modified TKSmartCard.slot
Declaration | |
---|---|
From | @property(nonatomic, readonly) TKSmartCardSlot *slot |
To | @property(nonatomic, readonly, nonnull) TKSmartCardSlot *slot |
Declaration | |
---|---|
From | - (void)transmitRequest:(NSData *)request reply:(void (^)(NSData *response, NSError *error))reply |
To | - (void)transmitRequest:(NSData * _Nonnull)request reply:(void (^ _Nonnull)(NSData * _Nullable response, NSError * _Nullable error))reply |
Modified TKSmartCardSlot.ATR
Declaration | |
---|---|
From | @property(readonly) TKSmartCardATR *ATR |
To | @property(readonly, nullable) TKSmartCardATR *ATR |
Modified -[TKSmartCardSlot makeSmartCard]
Declaration | |
---|---|
From | - (TKSmartCard *)makeSmartCard |
To | - (TKSmartCard * _Nullable)makeSmartCard |
Modified TKSmartCardSlot.name
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSString *name |
To | @property(nonatomic, readonly, nonnull) NSString *name |
Declaration | |
---|---|
From | + (instancetype)defaultManager |
To | + (instancetype _Nullable)defaultManager |
Declaration | |
---|---|
From | - (void)getSlotWithName:(NSString *)name reply:(void (^)(TKSmartCardSlot *slot))reply |
To | - (void)getSlotWithName:(NSString * _Nonnull)name reply:(void (^ _Nonnull)(TKSmartCardSlot * _Nullable slot))reply |
Modified TKSmartCardSlotManager.slotNames
Declaration | |
---|---|
From | @property(readonly) NSArray *slotNames |
To | @property(readonly, nonnull) NSArray<NSString *> *slotNames |
TKSmartCardATR.h
Modified TKSmartCardATR.bytes
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSData *bytes |
To | @property(nonatomic, readonly, nonnull) NSData *bytes |
Modified TKSmartCardATR.historicalBytes
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSData *historicalBytes |
To | @property(nonatomic, readonly, nonnull) NSData *historicalBytes |
Modified -[TKSmartCardATR initWithBytes:]
Declaration | |
---|---|
From | - (instancetype)initWithBytes:(NSData *)bytes |
To | - (instancetype _Nullable)initWithBytes:(NSData * _Nonnull)bytes |
Modified -[TKSmartCardATR initWithSource:]
Declaration | |
---|---|
From | - (instancetype)initWithSource:(int (^)(void))source |
To | - (instancetype _Nullable)initWithSource:(int (^ _Nonnull)(void))source |
Declaration | |
---|---|
From | - (TKSmartCardATRInterfaceGroup *)interfaceGroupAtIndex:(NSInteger)index |
To | - (TKSmartCardATRInterfaceGroup * _Nullable)interfaceGroupAtIndex:(NSInteger)index |
Declaration | |
---|---|
From | - (TKSmartCardATRInterfaceGroup *)interfaceGroupForProtocol:(TKSmartCardProtocol)protocol |
To | - (TKSmartCardATRInterfaceGroup * _Nullable)interfaceGroupForProtocol:(TKSmartCardProtocol)protocol |
Modified TKSmartCardATR.protocols
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSArray *protocols |
To | @property(nonatomic, readonly, nonnull) NSArray<NSNumber *> *protocols |
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSNumber *protocol |
To | @property(nonatomic, readonly, nullable) NSNumber *protocol |
Modified TKSmartCardATRInterfaceGroup.TA
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSNumber *TA |
To | @property(nonatomic, readonly, nullable) NSNumber *TA |
Modified TKSmartCardATRInterfaceGroup.TB
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSNumber *TB |
To | @property(nonatomic, readonly, nullable) NSNumber *TB |
Modified TKSmartCardATRInterfaceGroup.TC
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSNumber *TC |
To | @property(nonatomic, readonly, nullable) NSNumber *TC |