check OPEN SECURE CHANNEL response
This commit is contained in:
parent
86e6cb60ec
commit
9295aa6553
|
@ -8,8 +8,8 @@ android {
|
|||
defaultConfig {
|
||||
minSdkVersion 19
|
||||
targetSdkVersion 28
|
||||
versionCode 303
|
||||
versionName "3.0.3"
|
||||
versionCode 304
|
||||
versionName "3.0.4"
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
|
|
|
@ -120,7 +120,7 @@ public class SecureChannelSession {
|
|||
*/
|
||||
public void autoOpenSecureChannel(CardChannel apduChannel) throws IOException, APDUException {
|
||||
APDUResponse response = openSecureChannel(apduChannel, pairing.getPairingIndex(), publicKey);
|
||||
|
||||
response.checkOK("OPEN SECURE CHANNEL failed");
|
||||
processOpenSecureChannelResponse(response);
|
||||
|
||||
response = mutuallyAuthenticate(apduChannel);
|
||||
|
|
Loading…
Reference in New Issue