Skip to content

Commit

Permalink
Fix reading of new CIE on Android (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
francescopersico authored Feb 13, 2023
1 parent f0ccf14 commit a69ebba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android/src/main/java/it/ipzs/cieidsdk/nfc/Ias.kt
Original file line number Diff line number Diff line change
Expand Up @@ -896,8 +896,8 @@ internal class Ias constructor(val isoDep: IsoDep) {
0x80.toByte())
val response = sendApdu(getKeyDoup, getKeyDuopData, null)
val asn1 = Asn1Tag.parse(response.response, true)
caModule = asn1!!.child(0).child(0).Child(0, 0x81.toByte()).data
caPubExp = asn1.child(0).child(0).Child(1, 0x82.toByte()).data
caModule = asn1!!.child(0).child(0).childWithTagID(byteArrayOf(0x81.toByte()))!!.data
caPubExp = asn1.child(0).child(0).childWithTagID(byteArrayOf(0x82.toByte()))!!.data
baExtAuth_PrivExp = byteArrayOf(
0x18,
0x6B,
Expand Down

0 comments on commit a69ebba

Please sign in to comment.