Changeset 5569 in opensc
- Timestamp:
- 06/13/11 09:23:30 (11 months ago)
- File:
-
- 1 edited
-
trunk/src/libopensc/pkcs15.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libopensc/pkcs15.h
r5562 r5569 71 71 72 72 #define SC_PKCS15_PIN_AUTH_TYPE_PIN 0 73 #define SC_PKCS15_PIN_AUTH_TYPE_AUTH_KEY 1 74 #define SC_PKCS15_PIN_AUTH_TYPE_SM_KEY 2 75 73 #define SC_PKCS15_PIN_AUTH_TYPE_BIOMETRIC 1 74 #define SC_PKCS15_PIN_AUTH_TYPE_AUTH_KEY 2 75 #define SC_PKCS15_PIN_AUTH_TYPE_SM_KEY 3 76 77 /* PinAttributes as they defined in PKCS#15 v1.1 for PIN authentication object */ 76 78 struct sc_pkcs15_pin_attributes { 77 79 unsigned int flags, type; … … 80 82 u8 pad_char; 81 83 }; 84 /* AuthKeyAttributes of the authKey authentication object */ 82 85 struct sc_pkcs15_authkey_attributes { 83 86 int derived; 84 87 struct sc_pkcs15_id skey_id; 85 88 }; 89 /* BiometricAttributes of the biometricTemplate authentication object */ 86 90 struct sc_pkcs15_biometric_attributes { 87 91 unsigned int flags; … … 90 94 }; 91 95 struct sc_pkcs15_auth_info { 96 /* CommonAuthenticationObjectAttributes */ 92 97 struct sc_pkcs15_id auth_id; 98 99 /* AuthObjectAttributes */ 93 100 struct sc_path path; 94 101 unsigned auth_type; … … 98 105 struct sc_pkcs15_authkey_attributes authkey; 99 106 } attrs; 107 108 /* authentication method: CHV, SEN, SYMBOLIC, ... */ 100 109 unsigned int auth_method; 110 101 111 int tries_left, max_tries; 102 112 };
Note: See TracChangeset
for help on using the changeset viewer.
