TKSmartCardATR.inc 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. { Parsed from CryptoTokenKit.framework TKSmartCardATR.h }
  2. {$ifdef TYPES}
  3. type
  4. TKSmartCardATRInterfaceGroupPtr = ^TKSmartCardATRInterfaceGroup;
  5. TKSmartCardATRPtr = ^TKSmartCardATR;
  6. {$endif}
  7. {$ifdef TYPES}
  8. type
  9. TKSmartCardProtocol = NSUInteger;
  10. TKSmartCardProtocolPtr = ^TKSmartCardProtocol;
  11. const
  12. TKSmartCardProtocolNone = 0;
  13. TKSmartCardProtocolT0 = 1 shl 0;
  14. TKSmartCardProtocolT1 = 1 shl 1;
  15. TKSmartCardProtocolT15 = 1 shl 15;
  16. TKSmartCardProtocolAny = 1 shl 16;
  17. {$endif}
  18. {$ifdef CLASSES}
  19. type
  20. TKSmartCardATRInterfaceGroup = objcclass external (NSObject)
  21. public
  22. function TA: NSNumber; message 'TA';
  23. function TB: NSNumber; message 'TB';
  24. function TC: NSNumber; message 'TC';
  25. function protocol: NSNumber; message 'protocol';
  26. end;
  27. type
  28. TKSmartCardATR = objcclass external (NSObject)
  29. public
  30. function initWithBytes (bytes: NSData): instancetype; message 'initWithBytes:';
  31. function initWithSource (source: OpaqueCBlock): instancetype; message 'initWithSource:';
  32. function bytes: NSData; message 'bytes';
  33. function protocols: NSArray; message 'protocols';
  34. function interfaceGroupAtIndex (index: NSInteger): TKSmartCardATRInterfaceGroup; message 'interfaceGroupAtIndex:';
  35. function interfaceGroupForProtocol (protocol: TKSmartCardProtocol): TKSmartCardATRInterfaceGroup; message 'interfaceGroupForProtocol:';
  36. function historicalBytes: NSData; message 'historicalBytes';
  37. end;
  38. {$endif}