this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[CryptoTokenKit] Add kTKTokenCreateAttributeTestMode and TKAddSecureToken stub

Thomas A 20b91fbf 589052bf

+6 -1
+1 -1
src/frameworks/CryptoTokenKit/include/ctkclient.h
··· 30 30 #define kTKTokenControlAttribLifetimeType "TKTokenControlAttribLifetimeType" 31 31 32 32 #define kTKTokenCreateAttributeAuxParams "TKTokenCreateAttributeAuxParams" 33 - 33 + #define kTKTokenCreateAttributeTestMode "kTKTokenCreateAttributeTestMode" 34 34 #define TKTokenKeyUsageAny 1 35 35 36 36 typedef const struct CF_BRIDGED_TYPE(id) __TKToken * TKTokenRef;
+1
src/frameworks/CryptoTokenKit/include/ctkloginhelper.h
··· 36 36 37 37 CFDictionaryRef TKCopyAvailableTokensInfo(uid_t uid, CFDictionaryRef hints); 38 38 int TKPerformLogin(uid_t uid, CFStringRef token_id, CFDataRef pubkey_hash, CFStringRef pin, CFStringRef kerberos_principal, CFErrorRef* error); 39 + OSStatus TKAddSecureToken(CFStringRef username, CFStringRef pwd, CFStringRef tokenID, CFDataRef wrapPubKeyHash); 39 40 40 41 #endif // _CRYPTOTOKENKIT_CTKLOGINHELPER_H_
+4
src/frameworks/CryptoTokenKit/src/ctkloginhelper.c
··· 7 7 int TKPerformLogin(uid_t uid, CFStringRef token_id, CFDataRef pubkey_hash, CFStringRef pin, CFStringRef kerberos_principal, CFErrorRef* error) { 8 8 return -1; 9 9 }; 10 + 11 + OSStatus TKAddSecureToken(CFStringRef username, CFStringRef pwd, CFStringRef tokenID, CFDataRef wrapPubKeyHash) { 12 + return -1; 13 + }