Skip to content

Commit 9875c57

Browse files
committed
IDEMIA 2018 v2
IB-8370 Signed-off-by: Raul Metsma <raul@metsma.ee>
1 parent 9a3102b commit 9875c57

13 files changed

Lines changed: 278 additions & 579 deletions

File tree

EstEIDToken/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<string>A000000077010800070000FE00000100</string>
1212
</array>
1313
<key>com.apple.ctk.class-id</key>
14-
<string>ee.ria.EstEIDTokenApp.EstEIDToken</string>
14+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
1515
<key>com.apple.ctk.driver-class</key>
16-
<string>EstEIDTokenDriver</string>
16+
<string>$(PRODUCT_MODULE_NAME).EstEIDTokenDriver</string>
1717
<key>com.apple.ctk.token-type</key>
1818
<string>smartcard</string>
1919
</dict>

EstEIDToken/Token.h

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,34 +17,14 @@
1717
*
1818
*/
1919

20-
#import <CryptoTokenKit/CryptoTokenKit.h>
2120
#import <CryptoTokenKit/TKSmartCardToken.h>
2221

2322
NS_ASSUME_NONNULL_BEGIN
2423

25-
#pragma mark EstEID implementation of TKToken classes
26-
27-
#define NSDATA(LEN, ...) [NSData dataWithBytes:(const UInt8[]){__VA_ARGS__} length:LEN]
28-
29-
static const TKTokenOperationConstraint EstEIDConstraintPIN = @"PIN";
30-
31-
@interface EstEIDTokenDriver : TKSmartCardTokenDriver<TKSmartCardTokenDriverDelegate>
32-
+ (void)showNotification:(NSString*__nullable)msg;
33-
@end
34-
35-
@interface Token : TKSmartCardToken<TKTokenDelegate>
36-
@end
37-
38-
@interface IDEMIAToken : Token
39-
@end
40-
4124
@interface TokenSession : TKSmartCardTokenSession<TKTokenSessionDelegate>
4225
@end
4326

4427
@interface IDEMIATokenSession : TokenSession
4528
@end
4629

47-
@interface AuthOperation : TKTokenSmartCardPINAuthOperation
48-
@end
49-
5030
NS_ASSUME_NONNULL_END

EstEIDToken/Token.m

Lines changed: 0 additions & 211 deletions
This file was deleted.

0 commit comments

Comments
 (0)