Lines Matching refs:Authorization

30         Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN),  in TEST()
31 Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY), in TEST()
32 Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA), in TEST()
33 Authorization(TAG_USER_ID, 7), in TEST()
34 Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD), in TEST()
35 Authorization(TAG_APPLICATION_ID, "my_app", 6), in TEST()
36 Authorization(TAG_KEY_SIZE, 256), in TEST()
37 Authorization(TAG_AUTH_TIMEOUT, 300), in TEST()
45 Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN), in TEST()
46 Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY), in TEST()
47 Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA), in TEST()
48 Authorization(TAG_USER_ID, 7), in TEST()
49 Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD), in TEST()
50 Authorization(TAG_APPLICATION_ID, "my_app", 6), in TEST()
51 Authorization(TAG_KEY_SIZE, 256), in TEST()
52 Authorization(TAG_AUTH_TIMEOUT, 300), in TEST()
61 Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN), in TEST()
62 Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY), in TEST()
76 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
77 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
78 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
79 .Authorization(TAG_USER_ID, 7) in TEST()
80 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
81 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
82 .Authorization(TAG_KEY_SIZE, 256) in TEST()
83 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
107 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
108 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
109 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
110 .Authorization(TAG_USER_ID, 7) in TEST()
111 .Authorization(TAG_USER_SECURE_ID, 47727) in TEST()
112 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
113 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
114 .Authorization(TAG_KEY_SIZE, 256) in TEST()
115 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
136 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
137 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
138 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
139 .Authorization(TAG_USER_ID, 7) in TEST()
140 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
141 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
142 .Authorization(TAG_KEY_SIZE, 256) in TEST()
143 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
156 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
157 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
158 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
159 .Authorization(TAG_USER_ID, 7) in TEST()
160 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
161 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
162 .Authorization(TAG_KEY_SIZE, 256) in TEST()
163 .Authorization(TAG_USER_SECURE_ID, 47727) in TEST()
164 .Authorization(TAG_AUTH_TIMEOUT, 300) in TEST()
165 .Authorization(TAG_ALL_USERS) in TEST()
166 .Authorization(TAG_RSA_PUBLIC_EXPONENT, 3) in TEST()
167 .Authorization(TAG_ACTIVE_DATETIME, 10)); in TEST()
188 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
189 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
190 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
191 .Authorization(TAG_USER_ID, 7) in TEST()
192 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
193 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
194 .Authorization(TAG_KEY_SIZE, 256) in TEST()
195 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
233 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
234 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
235 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
236 .Authorization(TAG_USER_ID, 7) in TEST()
237 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
238 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
239 .Authorization(TAG_KEY_SIZE, 256) in TEST()
240 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
281 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
282 .Authorization(TAG_APPLICATION_DATA, "foo", 3)); in TEST()
354 EXPECT_TRUE(growable.push_back(Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA))); in TEST()
357 EXPECT_TRUE(growable.push_back(Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY))); in TEST()
360 EXPECT_TRUE(growable.push_back(Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN))); in TEST()
363 EXPECT_TRUE(growable.push_back(Authorization(TAG_APPLICATION_ID, "data", 4))); in TEST()
366 EXPECT_TRUE(growable.push_back(Authorization(TAG_APPLICATION_DATA, "some more data", 14))); in TEST()
383 EXPECT_TRUE(growable.push_back(Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA))); in TEST()
388 EXPECT_TRUE(growable.push_back(Authorization(TAG_RSA_PUBLIC_EXPONENT, 3))); in TEST()
396 EXPECT_TRUE(growable.push_back(Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA))); in TEST()
400 EXPECT_TRUE(growable.push_back(Authorization(TAG_APPLICATION_ID, "1234567890", 10))); in TEST()
404 EXPECT_TRUE(growable.push_back(Authorization(TAG_APPLICATION_DATA, "1", 1))); in TEST()
409 EXPECT_TRUE(growable.push_back(Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN))); in TEST()
416 builder.Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
417 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
418 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
419 .Authorization(TAG_USER_ID, 7) in TEST()
420 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
421 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
422 .Authorization(TAG_KEY_SIZE, 256) in TEST()
423 .Authorization(TAG_AUTH_TIMEOUT, 300); in TEST()
437 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
438 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
439 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
440 .Authorization(TAG_USER_ID, 7) in TEST()
441 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
442 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
443 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
455 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
456 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
457 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
458 .Authorization(TAG_RSA_PUBLIC_EXPONENT, 3)); in TEST()
461 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
462 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
463 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA)); in TEST()
475 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
476 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
477 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
478 .Authorization(TAG_USER_SECURE_ID, 8338) in TEST()
479 .Authorization(TAG_USER_SECURE_ID, 4334) in TEST()
480 .Authorization(TAG_RSA_PUBLIC_EXPONENT, 3)); 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()
499 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
500 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
501 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
502 .Authorization(TAG_USER_ID, 7) in TEST()
503 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
504 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
505 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
518 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
519 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
520 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
521 .Authorization(TAG_USER_ID, 7) in TEST()
522 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
523 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
524 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
538 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
539 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
540 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
541 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
542 .Authorization(TAG_USER_ID, 7) in TEST()
543 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
544 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
545 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
557 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
558 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
559 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
560 .Authorization(TAG_USER_ID, 7) in TEST()
561 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
562 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
563 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
576 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
577 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
578 .Authorization(TAG_USER_ID, 7) in TEST()
579 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD)); in TEST()
593 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
594 .Authorization(TAG_INVALID) in TEST()
595 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
596 .Authorization(TAG_USER_ID, 7) in TEST()
597 .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_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
613 .Authorization(TAG_USER_ID, 7) in TEST()
614 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
615 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD)); in TEST()
626 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
627 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
628 .Authorization(TAG_APPLICATION_DATA, "data", 4) in TEST()
629 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
630 .Authorization(TAG_USER_ID, 7) in TEST()
631 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
632 .Authorization(TAG_APPLICATION_DATA, "data", 4) in TEST()
633 .Authorization(TAG_APPLICATION_DATA, "foo", 3) in TEST()
634 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD)); in TEST()
647 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
648 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
649 .Authorization(TAG_APPLICATION_DATA, "data", 4)); in TEST()
652 .Authorization(TAG_USER_ID, 7) in TEST()
653 .Authorization(TAG_APPLICATION_DATA, "foo", 3) in TEST()
654 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD)); in TEST()
657 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
658 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
659 .Authorization(TAG_USER_ID, 7) in TEST()
660 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
661 .Authorization(TAG_APPLICATION_DATA, "data", 4) in TEST()
662 .Authorization(TAG_APPLICATION_DATA, "foo", 3)); in TEST()
670 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
671 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
672 .Authorization(TAG_APPLICATION_DATA, "data", 4)); in TEST()
675 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
676 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
677 .Authorization(TAG_APPLICATION_DATA, "data", 4)); in TEST()
680 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
681 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
682 .Authorization(TAG_APPLICATION_DATA, "data", 4)); in TEST()
690 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
691 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
692 .Authorization(TAG_APPLICATION_DATA, "data", 4)); in TEST()
697 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
698 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
699 .Authorization(TAG_APPLICATION_DATA, "data", 4)); in TEST()
707 .Authorization(TAG_APPLICATION_DATA, "data", 4) in TEST()
708 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
709 .Authorization(TAG_ACTIVE_DATETIME, 10)); in TEST()
712 .Authorization(TAG_USER_ID, 7) in TEST()
713 .Authorization(TAG_APPLICATION_DATA, "foo", 3) in TEST()
714 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD)); in TEST()
718 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
719 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
720 .Authorization(TAG_APPLICATION_DATA, "data", 4)); in TEST()
728 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
729 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
730 .Authorization(TAG_APPLICATION_DATA, "data", 4)); in TEST()
733 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
734 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
735 .Authorization(TAG_APPLICATION_DATA, "data", 4)); in TEST()
745 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
746 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
747 .Authorization(TAG_APPLICATION_DATA, "data", 4)); in TEST()
752 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
753 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
754 .Authorization(TAG_APPLICATION_DATA, "data", 4)); in TEST()