Skip to content

Commit

Permalink
fix: PS-33
Browse files Browse the repository at this point in the history
  • Loading branch information
krasimirkolev authored and Elin Angelov committed Aug 10, 2018
1 parent 1140dce commit 4f4b84a
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,24 @@
"requestPattern": "\"0011\", keyType:3/string, dek:33/string, messageLenHex:4/string, message:messageLen/string",
"responsePattern": "errorCode:2/string, messageLenHex:4/string, message:32/string"
},
"encryptDataBlock": {
"requestCode": "M0",
"responseCode": "M1",
"requestPattern": "modeFlag:2/string, inputFormatFlag:1/string, outputFormatFlag:1/string, keyType:3/string, key:33/string, ksnDescriptor:ksnDescriptorLength/string, ksn:ksnLength/string, iv:ivLength/string, messageLenHex:4/string, message:messageLen/string",
"responsePattern": "errorCode:2/string, rest/binary"
},
"decryptDataBlock": {
"requestCode": "M2",
"responseCode": "M3",
"requestPattern": "modeFlag:2/string, bpsRadixFlag:bpsRadixFlagLength/string, bpsRadixValue:bpsRadixValueLength/string, bpsTweak:bpsTweakLength/string-binhex, inputFormatFlag:1/string, outputFormatFlag:1/string, keyType:3/string, key:33/string, ksnDescriptor:ksnDescriptorLength/string, ksn:ksnLength/string, iv:ivLength/string, messageLenHex:4/string, message:messageLen/string",
"responsePattern": "errorCode:2/string, rest/binary"
},
"translateDataBlock": {
"requestCode": "M4",
"responseCode": "M5",
"requestPattern": "sourceModeFlag:2/string, destinationModeFlag:2/string, inputFormatFlag:1/string, outputFormatFlag:1/string, sourceKeyType:3/string, sourceKey:33/string, sourceKsnDescriptor:sourceKsnDescriptorLength/string, sourceKsn:sourceKsnLength/string, destinationKeyType:3/string, destinationKey:33/string, destinationKsnDescriptor:destinationKsnDescriptorLength/string, destinationKsn:destinationKsnLength/string, sourceIv:sourceIvLength/string, destinationIv:destinationIvLength/string, messageLenHex:4/string, message:messageLen/string",
"responsePattern": "errorCode:2/string, rest/binary"
},
"verifyOffsetIbmDukpt": {
"requestCode": "GO",
"responseCode": "GP",
Expand All @@ -189,4 +207,4 @@
"01": "PIN Verification failure"
}
}
}
}

0 comments on commit 4f4b84a

Please sign in to comment.