Lines Matching refs:Authorization
30 Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN), Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY), in TEST()
31 Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA), Authorization(TAG_USER_ID, 7), in TEST()
32 Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD), in TEST()
33 Authorization(TAG_APPLICATION_ID, "my_app", 6), Authorization(TAG_KEY_SIZE, 256), in TEST()
34 Authorization(TAG_AUTH_TIMEOUT, 300), in TEST()
42 Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN), Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY), in TEST()
43 Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA), Authorization(TAG_USER_ID, 7), in TEST()
44 Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD), in TEST()
45 Authorization(TAG_APPLICATION_ID, "my_app", 6), Authorization(TAG_KEY_SIZE, 256), in TEST()
46 Authorization(TAG_AUTH_TIMEOUT, 300), in TEST()
55 Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN), Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY), in TEST()
69 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
70 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
71 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
72 .Authorization(TAG_USER_ID, 7) in TEST()
73 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
74 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
75 .Authorization(TAG_KEY_SIZE, 256) in TEST()
76 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
100 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
101 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
102 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
103 .Authorization(TAG_USER_ID, 7) in TEST()
104 .Authorization(TAG_USER_SECURE_ID, 47727) in TEST()
105 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
106 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
107 .Authorization(TAG_KEY_SIZE, 256) in TEST()
108 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
129 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
130 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
131 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
132 .Authorization(TAG_USER_ID, 7) in TEST()
133 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
134 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
135 .Authorization(TAG_KEY_SIZE, 256) in TEST()
136 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
149 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
150 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
151 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
152 .Authorization(TAG_USER_ID, 7) in TEST()
153 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
154 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
155 .Authorization(TAG_KEY_SIZE, 256) in TEST()
156 .Authorization(TAG_USER_SECURE_ID, 47727) in TEST()
157 .Authorization(TAG_AUTH_TIMEOUT, 300) in TEST()
158 .Authorization(TAG_ALL_USERS) in TEST()
159 .Authorization(TAG_RSA_PUBLIC_EXPONENT, 3) in TEST()
160 .Authorization(TAG_ACTIVE_DATETIME, 10)); in TEST()
181 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
182 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
183 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
184 .Authorization(TAG_USER_ID, 7) in TEST()
185 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
186 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
187 .Authorization(TAG_KEY_SIZE, 256) in TEST()
188 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
226 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
227 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
228 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
229 .Authorization(TAG_USER_ID, 7) in TEST()
230 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
231 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
232 .Authorization(TAG_KEY_SIZE, 256) in TEST()
233 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
265 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
266 .Authorization(TAG_APPLICATION_DATA, "foo", 3)); in TEST()
338 EXPECT_TRUE(growable.push_back(Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA))); in TEST()
341 EXPECT_TRUE(growable.push_back(Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY))); in TEST()
344 EXPECT_TRUE(growable.push_back(Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN))); in TEST()
347 EXPECT_TRUE(growable.push_back(Authorization(TAG_APPLICATION_ID, "data", 4))); in TEST()
350 EXPECT_TRUE(growable.push_back(Authorization(TAG_APPLICATION_DATA, "some more data", 14))); in TEST()
367 EXPECT_TRUE(growable.push_back(Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA))); in TEST()
372 EXPECT_TRUE(growable.push_back(Authorization(TAG_RSA_PUBLIC_EXPONENT, 3))); in TEST()
380 EXPECT_TRUE(growable.push_back(Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA))); in TEST()
384 EXPECT_TRUE(growable.push_back(Authorization(TAG_APPLICATION_ID, "1234567890", 10))); in TEST()
388 EXPECT_TRUE(growable.push_back(Authorization(TAG_APPLICATION_DATA, "1", 1))); in TEST()
393 EXPECT_TRUE(growable.push_back(Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN))); in TEST()
400 builder.Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
401 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
402 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
403 .Authorization(TAG_USER_ID, 7) in TEST()
404 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
405 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
406 .Authorization(TAG_KEY_SIZE, 256) in TEST()
407 .Authorization(TAG_AUTH_TIMEOUT, 300); in TEST()
421 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
422 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
423 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
424 .Authorization(TAG_USER_ID, 7) in TEST()
425 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
426 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
427 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
439 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
440 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
441 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
442 .Authorization(TAG_RSA_PUBLIC_EXPONENT, 3)); in TEST()
445 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
446 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
447 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA)); in TEST()
459 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
460 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
461 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
462 .Authorization(TAG_USER_SECURE_ID, 8338) in TEST()
463 .Authorization(TAG_USER_SECURE_ID, 4334) in TEST()
464 .Authorization(TAG_RSA_PUBLIC_EXPONENT, 3)); in TEST()
467 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
468 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
469 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA)); in TEST()
483 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
484 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
485 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
486 .Authorization(TAG_USER_ID, 7) in TEST()
487 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
488 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
489 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
502 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
503 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
504 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
505 .Authorization(TAG_USER_ID, 7) in TEST()
506 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
507 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
508 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
522 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
523 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
524 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
525 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
526 .Authorization(TAG_USER_ID, 7) in TEST()
527 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
528 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
529 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
541 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
542 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
543 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
544 .Authorization(TAG_USER_ID, 7) in TEST()
545 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
546 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
547 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
560 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
561 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
562 .Authorization(TAG_USER_ID, 7) in TEST()
563 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD)); in TEST()
577 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
578 .Authorization(TAG_INVALID) in TEST()
579 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
580 .Authorization(TAG_USER_ID, 7) in TEST()
581 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD)); in TEST()
594 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
595 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
596 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
597 .Authorization(TAG_USER_ID, 7) in TEST()
598 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
599 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD)); in TEST()
610 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
611 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
612 .Authorization(TAG_APPLICATION_DATA, "data", 4) in TEST()
613 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
614 .Authorization(TAG_USER_ID, 7) in TEST()
615 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
616 .Authorization(TAG_APPLICATION_DATA, "data", 4) in TEST()
617 .Authorization(TAG_APPLICATION_DATA, "foo", 3) in TEST()
618 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD)); in TEST()