Updated on 2026-08-14
This commit is contained in:
commit
c11de8c59a
3 changed files with 13 additions and 7 deletions
|
|
@ -95,8 +95,8 @@ dependencies {
|
|||
|
||||
implementation 'com.tangem:blockchain:develop-86'
|
||||
// implementation 'com.tangem:blockchain:0.0.1'
|
||||
implementation 'com.tangem.tangem-sdk-kotlin:core:develop-142'
|
||||
implementation 'com.tangem.tangem-sdk-kotlin:android:develop-142'
|
||||
implementation 'com.tangem.tangem-sdk-kotlin:core:develop-154'
|
||||
implementation 'com.tangem.tangem-sdk-kotlin:android:develop-154'
|
||||
|
||||
// WebView
|
||||
implementation "androidx.browser:browser:1.3.0"
|
||||
|
|
|
|||
|
|
@ -63,11 +63,17 @@ class WriteProtectedIssuerDataTask(
|
|||
val counter = (readResponse.issuerDataCounter ?: 0) + 1
|
||||
val data = twinPublicKey + cardSignature
|
||||
val signedByIssuer = FileHashHelper.prepareHashes(
|
||||
cardId, data, counter, issuerKeys.privateKey
|
||||
cardId = cardId,
|
||||
fileData = data,
|
||||
fileCounter = counter,
|
||||
fileName = null,
|
||||
privateKey = issuerKeys.privateKey,
|
||||
)
|
||||
WriteIssuerDataCommand(
|
||||
data, signedByIssuer.finalizingSignature!!,
|
||||
counter, issuerKeys.publicKey
|
||||
issuerData = data,
|
||||
issuerDataSignature = signedByIssuer.finalizingSignature!!,
|
||||
issuerDataCounter = counter,
|
||||
issuerPublicKey = issuerKeys.publicKey,
|
||||
).run(session, callback)
|
||||
}
|
||||
}
|
||||
|
|
@ -61,8 +61,8 @@ dependencies {
|
|||
|
||||
implementation 'com.tangem:blockchain:develop-86'
|
||||
// implementation 'com.tangem:blockchain:0.0.1'
|
||||
implementation 'com.tangem.tangem-sdk-kotlin:core:develop-142'
|
||||
implementation 'com.tangem.tangem-sdk-kotlin:android:develop-142'
|
||||
implementation 'com.tangem.tangem-sdk-kotlin:core:develop-154'
|
||||
implementation 'com.tangem.tangem-sdk-kotlin:android:develop-154'
|
||||
|
||||
// Kotlin coroutines
|
||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue