-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extract constants to PoTokenConstants
- Loading branch information
1 parent
dc6daaa
commit 47450aa
Showing
2 changed files
with
35 additions
and
16 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
play-services-core/src/main/kotlin/com/google/android/gms/potokens/utils/PoTokenConstants.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.google.android.gms.potokens.utils | ||
|
||
object PoTokenConstants { | ||
|
||
const val TOKEN_URL = | ||
"https://deviceintegritytokens-pa.googleapis.com/v1/getPoIntegrityToken?alt=proto&key=AIzaSyBtL0AK6Hzgr69rQyeyhi-V1lmtsPGZd1M" | ||
|
||
const val TYPE_URL = "type.googleapis.com/google.crypto.tink.AesGcmKey" | ||
|
||
const val KEY_TOKEN = "po-token-fast" | ||
|
||
const val KEY_FAST = "po-fast-key" | ||
|
||
const val KEY_FALLBACK = "extraKeysRetainedInFallback" | ||
|
||
const val KEY_DESC = "tokenDesc" | ||
|
||
const val KEY_BACKUP = "tokenBackup" | ||
|
||
const val KEY_SET_STR = "keySetStr" | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters