Updated on 2026-08-14
This commit is contained in:
parent
5de9753f52
commit
250fea9baa
2 changed files with 2 additions and 2 deletions
|
|
@ -68,7 +68,7 @@ class ReadUserDataCommand: CommandSerializer<ReadUserDataResponse>() {
|
|||
append(TlvTag.Pin, cardEnvironment.pin1)
|
||||
}.serialize()
|
||||
|
||||
return CommandApdu(Instruction.ReadIssuerData, serializedTlv)
|
||||
return CommandApdu(Instruction.ReadUserData, serializedTlv)
|
||||
}
|
||||
|
||||
override fun deserialize(cardEnvironment: CardEnvironment, responseApdu: ResponseApdu): ReadUserDataResponse? {
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ class WriteUserDataCommand(
|
|||
if (userProtectedCounter != null || userProtectedData != null)
|
||||
append(TlvTag.Pin2, cardEnvironment.pin2)
|
||||
}.serialize()
|
||||
return CommandApdu(Instruction.ReadIssuerData, serializedTlv)
|
||||
return CommandApdu(Instruction.WriteUserData, serializedTlv)
|
||||
}
|
||||
|
||||
override fun deserialize(cardEnvironment: CardEnvironment, responseApdu: ResponseApdu): WriteUserDataResponse? {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue