• Home
  • Raw
  • Download

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()
274 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
275 .Authorization(TAG_APPLICATION_DATA, "foo", 3)); in TEST()
347 EXPECT_TRUE(growable.push_back(Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA))); in TEST()
350 EXPECT_TRUE(growable.push_back(Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY))); in TEST()
353 EXPECT_TRUE(growable.push_back(Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN))); in TEST()
356 EXPECT_TRUE(growable.push_back(Authorization(TAG_APPLICATION_ID, "data", 4))); in TEST()
359 EXPECT_TRUE(growable.push_back(Authorization(TAG_APPLICATION_DATA, "some more data", 14))); in TEST()
376 EXPECT_TRUE(growable.push_back(Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA))); in TEST()
381 EXPECT_TRUE(growable.push_back(Authorization(TAG_RSA_PUBLIC_EXPONENT, 3))); in TEST()
389 EXPECT_TRUE(growable.push_back(Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA))); in TEST()
393 EXPECT_TRUE(growable.push_back(Authorization(TAG_APPLICATION_ID, "1234567890", 10))); in TEST()
397 EXPECT_TRUE(growable.push_back(Authorization(TAG_APPLICATION_DATA, "1", 1))); in TEST()
402 EXPECT_TRUE(growable.push_back(Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN))); in TEST()
409 builder.Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
410 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
411 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
412 .Authorization(TAG_USER_ID, 7) in TEST()
413 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
414 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
415 .Authorization(TAG_KEY_SIZE, 256) in TEST()
416 .Authorization(TAG_AUTH_TIMEOUT, 300); in TEST()
430 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
431 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
432 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
433 .Authorization(TAG_USER_ID, 7) in TEST()
434 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
435 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
436 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
448 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
449 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
450 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
451 .Authorization(TAG_RSA_PUBLIC_EXPONENT, 3)); in TEST()
454 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
455 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
456 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA)); in TEST()
468 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
469 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
470 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
471 .Authorization(TAG_USER_SECURE_ID, 8338) in TEST()
472 .Authorization(TAG_USER_SECURE_ID, 4334) in TEST()
473 .Authorization(TAG_RSA_PUBLIC_EXPONENT, 3)); in TEST()
476 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
477 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
478 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA)); in TEST()
492 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
493 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
494 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
495 .Authorization(TAG_USER_ID, 7) in TEST()
496 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
497 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
498 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
511 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
512 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
513 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
514 .Authorization(TAG_USER_ID, 7) in TEST()
515 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
516 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
517 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
531 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
532 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
533 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
534 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
535 .Authorization(TAG_USER_ID, 7) in TEST()
536 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
537 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
538 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
550 .Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN) in TEST()
551 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
552 .Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA) in TEST()
553 .Authorization(TAG_USER_ID, 7) in TEST()
554 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
555 .Authorization(TAG_APPLICATION_ID, "my_app", 6) in TEST()
556 .Authorization(TAG_AUTH_TIMEOUT, 300)); in TEST()
569 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
570 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
571 .Authorization(TAG_USER_ID, 7) in TEST()
572 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD)); in TEST()
586 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
587 .Authorization(TAG_INVALID) in TEST()
588 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
589 .Authorization(TAG_USER_ID, 7) in TEST()
590 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD)); in TEST()
603 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
604 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
605 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
606 .Authorization(TAG_USER_ID, 7) in TEST()
607 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
608 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD)); in TEST()
619 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
620 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
621 .Authorization(TAG_APPLICATION_DATA, "data", 4) in TEST()
622 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
623 .Authorization(TAG_USER_ID, 7) in TEST()
624 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
625 .Authorization(TAG_APPLICATION_DATA, "data", 4) in TEST()
626 .Authorization(TAG_APPLICATION_DATA, "foo", 3) in TEST()
627 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD)); in TEST()
640 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
641 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
642 .Authorization(TAG_APPLICATION_DATA, "data", 4)); in TEST()
645 .Authorization(TAG_USER_ID, 7) in TEST()
646 .Authorization(TAG_APPLICATION_DATA, "foo", 3) in TEST()
647 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD)); in TEST()
650 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD) in TEST()
651 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
652 .Authorization(TAG_USER_ID, 7) in TEST()
653 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
654 .Authorization(TAG_APPLICATION_DATA, "data", 4) in TEST()
655 .Authorization(TAG_APPLICATION_DATA, "foo", 3)); in TEST()
663 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
664 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
665 .Authorization(TAG_APPLICATION_DATA, "data", 4)); in TEST()
668 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
669 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
670 .Authorization(TAG_APPLICATION_DATA, "data", 4)); in TEST()
673 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
674 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
675 .Authorization(TAG_APPLICATION_DATA, "data", 4)); in TEST()
683 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
684 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
685 .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()
700 .Authorization(TAG_APPLICATION_DATA, "data", 4) in TEST()
701 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
702 .Authorization(TAG_ACTIVE_DATETIME, 10)); in TEST()
705 .Authorization(TAG_USER_ID, 7) in TEST()
706 .Authorization(TAG_APPLICATION_DATA, "foo", 3) in TEST()
707 .Authorization(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD)); in TEST()
711 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
712 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
713 .Authorization(TAG_APPLICATION_DATA, "data", 4)); in TEST()
721 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
722 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
723 .Authorization(TAG_APPLICATION_DATA, "data", 4)); in TEST()
726 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
727 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
728 .Authorization(TAG_APPLICATION_DATA, "data", 4)); in TEST()
738 .Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY) in TEST()
739 .Authorization(TAG_ACTIVE_DATETIME, 10) in TEST()
740 .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()