Documentation Archive Developer
Search

CryptoTokenKit Changes for Objective-C

CryptoTokenKit

TKError.h

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

TKSmartCard.h

Removed TKSmartCardNoSlot
Removed TKSmartCardSlotEmpty
Removed TKSmartCardSlotMuteCard
Removed TKSmartCardSlotProbing
Removed TKSmartCardSlotValidCard
Declaration
From
- (void)beginSessionWithReply:(void (^)(BOOL success, NSError *error))reply
To
- (void)beginSessionWithReply:(void (^ _Nonnull)(BOOL success, NSError * _Nullable error))reply

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

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

Declaration
From
@property(readonly) TKSmartCardATR *ATR
To
@property(readonly, nullable) TKSmartCardATR *ATR

Declaration
From
- (TKSmartCard *)makeSmartCard
To
- (TKSmartCard * _Nullable)makeSmartCard

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

Declaration
From
@property(readonly) NSArray *slotNames
To
@property(readonly, nonnull) NSArray<NSString *> *slotNames

TKSmartCardATR.h

Declaration
From
@property(nonatomic, readonly) NSData *bytes
To
@property(nonatomic, readonly, nonnull) NSData *bytes

Declaration
From
@property(nonatomic, readonly) NSData *historicalBytes
To
@property(nonatomic, readonly, nonnull) NSData *historicalBytes

Declaration
From
- (instancetype)initWithBytes:(NSData *)bytes
To
- (instancetype _Nullable)initWithBytes:(NSData * _Nonnull)bytes

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

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

Declaration
From
@property(nonatomic, readonly) NSNumber *TA
To
@property(nonatomic, readonly, nullable) NSNumber *TA

Declaration
From
@property(nonatomic, readonly) NSNumber *TB
To
@property(nonatomic, readonly, nullable) NSNumber *TB

Declaration
From
@property(nonatomic, readonly) NSNumber *TC
To
@property(nonatomic, readonly, nullable) NSNumber *TC