Home
last modified time | relevance | path

Searched defs:rawToken (Results 1 – 19 of 19) sorted by relevance

/external/tink-java/src/test/java/com/google/crypto/tink/jwt/
DVerifiedJwtTest.java73 RawJwt rawToken = RawJwt.newBuilder().setIssuer("foo").withoutExpiration().build(); in getIssuer_success() local
82 RawJwt rawToken = RawJwt.newBuilder().setSubject("foo").withoutExpiration().build(); in getSubject_success() local
91 RawJwt rawToken = RawJwt.newBuilder().addAudience("foo").withoutExpiration().build(); in getAudiences_success() local
100 RawJwt rawToken = in getMultipleAudiences_success() local
110 RawJwt rawToken = RawJwt.newBuilder().setJwtId("foo").withoutExpiration().build(); in getJwtId_success() local
119 RawJwt rawToken = RawJwt.newBuilder().setExpiration(Instant.ofEpochSecond(1234567)).build(); in getExpiration_success() local
128 RawJwt rawToken = in getNotBefore_success() local
141 RawJwt rawToken = in getIssuedAt_success() local
151 RawJwt rawToken = in getRegisteredClaim_shouldThrow() local
179 RawJwt rawToken = in getNotRegisteredSimpleClaims_success() local
[all …]
DJwtEcdsaSignKeyManagerTest.java243 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in createSignVerify_success() local
274 RawJwt rawToken = RawJwt.newBuilder().setJwtId("id123").withoutExpiration().build(); in createSignVerifyDifferentKey_throw() local
304 RawJwt rawToken = RawJwt.newBuilder().setJwtId("issuer").withoutExpiration().build(); in createSignVerify_header_modification_throw() local
334 RawJwt rawToken = RawJwt.newBuilder().setJwtId("id123").withoutExpiration().build(); in createSignVerify_payload_modification_throw() local
364 RawJwt rawToken = RawJwt.newBuilder().setJwtId("id123").withoutExpiration().build(); in createSignVerify_bitFlipped_throw() local
607 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in signAndVerifyWithCustomKid() local
651 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in signAndVerifyWithWrongCustomKid_fails() local
DJwtRsaSsaPssSignKeyManagerTest.java240 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in createSignVerify_success() local
272 RawJwt rawToken = RawJwt.newBuilder().setJwtId("id123").withoutExpiration().build(); in createSignVerifyDifferentKey_throw() local
302 RawJwt rawToken = RawJwt.newBuilder().setJwtId("id123").withoutExpiration().build(); in createSignVerify_header_modification_throw() local
332 RawJwt rawToken = RawJwt.newBuilder().setJwtId("id123").withoutExpiration().build(); in createSignVerify_payload_modification_throw() local
570 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in signAndVerifyWithCustomKid() local
614 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in signAndVerifyWithWrongCustomKid_fails() local
DJwtRsaSsaPkcs1SignKeyManagerTest.java280 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in createSignVerify_success() local
312 RawJwt rawToken = RawJwt.newBuilder().setJwtId("id123").withoutExpiration().build(); in createSignVerifyDifferentKey_throw() local
342 RawJwt rawToken = RawJwt.newBuilder().setJwtId("id123").withoutExpiration().build(); in createSignVerify_header_modification_throw() local
372 RawJwt rawToken = RawJwt.newBuilder().setJwtId("id123").withoutExpiration().build(); in createSignVerify_payload_modification_throw() local
617 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in signAndVerifyWithCustomKid() local
665 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in signAndVerifyWithWrongCustomKid_fails() local
DJwtPublicKeySignVerifyWrappersTest.java139 RawJwt rawToken = RawJwt.newBuilder().setJwtId("blah").withoutExpiration().build(); in test_wrapSingleTinkKey_works() local
157 RawJwt rawToken = RawJwt.newBuilder().setJwtId("blah").withoutExpiration().build(); in test_wrapSingleRawKey_works() local
195 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in test_wrapMultipleRawKeys() local
242 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in test_wrapMultipleTinkKeys() local
369 RawJwt rawToken = RawJwt.newBuilder().setJwtId("blah").withoutExpiration().build(); in test_verifyWithoutPrimary_works() local
DJwtMacWrapperTest.java92 RawJwt rawToken = RawJwt.newBuilder().setJwtId("id123").withoutExpiration().build(); in test_wrapSingleRawKey_works() local
131 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in test_wrapMultipleRawKeys() local
167 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in test_wrapMultipleTinkKeys() local
DJwtHmacKeyManagerTest.java258 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in createSignVerify_success() local
271 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in createSignVerifyDifferentKey_throw() local
825 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in macWithCustomKid() local
859 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in macWithWrongCustomKid() local
899 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in keyWithKid_tokenWithoutKid() local
DJwkSetConverterTest.java625 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in convertTinkToJwksTokenVerification_success() local
/external/tink/java_src/src/test/java/com/google/crypto/tink/jwt/
DVerifiedJwtTest.java73 RawJwt rawToken = RawJwt.newBuilder().setIssuer("foo").withoutExpiration().build(); in getIssuer_success() local
82 RawJwt rawToken = RawJwt.newBuilder().setSubject("foo").withoutExpiration().build(); in getSubject_success() local
91 RawJwt rawToken = RawJwt.newBuilder().addAudience("foo").withoutExpiration().build(); in getAudiences_success() local
100 RawJwt rawToken = in getMultipleAudiences_success() local
110 RawJwt rawToken = RawJwt.newBuilder().setJwtId("foo").withoutExpiration().build(); in getJwtId_success() local
119 RawJwt rawToken = RawJwt.newBuilder().setExpiration(Instant.ofEpochSecond(1234567)).build(); in getExpiration_success() local
128 RawJwt rawToken = in getNotBefore_success() local
141 RawJwt rawToken = in getIssuedAt_success() local
151 RawJwt rawToken = in getRegisteredClaim_shouldThrow() local
179 RawJwt rawToken = in getNotRegisteredSimpleClaims_success() local
[all …]
DJwtPublicKeySignVerifyWrappersTest.java127 RawJwt rawToken = RawJwt.newBuilder().setJwtId("blah").withoutExpiration().build(); in test_wrapSingleTinkKey_works() local
142 RawJwt rawToken = RawJwt.newBuilder().setJwtId("blah").withoutExpiration().build(); in test_wrapSingleRawKey_works() local
174 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in test_wrapMultipleRawKeys() local
215 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in test_wrapMultipleTinkKeys() local
330 RawJwt rawToken = RawJwt.newBuilder().setJwtId("blah").withoutExpiration().build(); in test_verifyWithoutPrimary_works() local
DJwtEcdsaSignKeyManagerTest.java282 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in createSignVerify_success() local
312 RawJwt rawToken = RawJwt.newBuilder().setJwtId("id123").withoutExpiration().build(); in createSignVerifyDifferentKey_throw() local
337 RawJwt rawToken = RawJwt.newBuilder().setJwtId("issuer").withoutExpiration().build(); in createSignVerify_header_modification_throw() local
364 RawJwt rawToken = RawJwt.newBuilder().setJwtId("id123").withoutExpiration().build(); in createSignVerify_payload_modification_throw() local
391 RawJwt rawToken = RawJwt.newBuilder().setJwtId("id123").withoutExpiration().build(); in createSignVerify_bitFlipped_throw() local
583 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in signAndVerifyWithCustomKid() local
622 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in signAndVerifyWithWrongCustomKid_fails() local
DJwtMacWrapperTest.java83 RawJwt rawToken = RawJwt.newBuilder().setJwtId("id123").withoutExpiration().build(); in test_wrapSingleRawKey_works() local
122 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in test_wrapMultipleRawKeys() local
158 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in test_wrapMultipleTinkKeys() local
DJwtRsaSsaPssSignKeyManagerTest.java377 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in createSignVerify_success() local
408 RawJwt rawToken = RawJwt.newBuilder().setJwtId("id123").withoutExpiration().build(); in createSignVerifyDifferentKey_throw() local
433 RawJwt rawToken = RawJwt.newBuilder().setJwtId("id123").withoutExpiration().build(); in createSignVerify_header_modification_throw() local
460 RawJwt rawToken = RawJwt.newBuilder().setJwtId("id123").withoutExpiration().build(); in createSignVerify_payload_modification_throw() local
655 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in signAndVerifyWithCustomKid() local
694 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in signAndVerifyWithWrongCustomKid_fails() local
DJwtRsaSsaPkcs1SignKeyManagerTest.java402 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in createSignVerify_success() local
433 RawJwt rawToken = RawJwt.newBuilder().setJwtId("id123").withoutExpiration().build(); in createSignVerifyDifferentKey_throw() local
458 RawJwt rawToken = RawJwt.newBuilder().setJwtId("id123").withoutExpiration().build(); in createSignVerify_header_modification_throw() local
485 RawJwt rawToken = RawJwt.newBuilder().setJwtId("id123").withoutExpiration().build(); in createSignVerify_payload_modification_throw() local
688 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in signAndVerifyWithCustomKid() local
731 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in signAndVerifyWithWrongCustomKid_fails() local
DJwtHmacKeyManagerTest.java298 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in createSignVerify_success() local
311 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in createSignVerifyDifferentKey_throw() local
864 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in macWithCustomKid() local
897 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in macWithWrongCustomKid() local
DJwkSetConverterTest.java579 RawJwt rawToken = RawJwt.newBuilder().setJwtId("jwtId").withoutExpiration().build(); in convertTinkToJwksTokenVerification_success() local
/external/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/
DIamUtils.java211 String rawToken = OAuth2Utils.validateString(responseData, "token", PARSE_ERROR_MESSAGE); in getIdToken() local
DComputeEngineCredentials.java334 String rawToken = response.parseAsString(); in idTokenWithAudience() local
DServiceAccountCredentials.java592 String rawToken = OAuth2Utils.validateString(responseData, "id_token", PARSE_ERROR_PREFIX); in idTokenWithAudience() local