add get status command to gp command set

This commit is contained in:
Andrea Franz 2019-04-18 00:01:59 +02:00
parent f0c61b868c
commit dbfad2a8b0
No known key found for this signature in database
GPG Key ID: 4F0D2F2D9DE7F29D
1 changed files with 6 additions and 0 deletions

View File

@ -143,6 +143,12 @@ func (cs *CommandSet) InstallForInstall(packageAID, appletAID, instanceAID, para
return cs.checkOK(resp, err)
}
func (cs *CommandSet) GetStatus() error {
cmd := NewCommandGetStatus([]byte{}, P1GetStatusIssuerSecurityDomain)
resp, err := cs.sc.Send(cmd)
return cs.checkOK(resp, err)
}
func (cs *CommandSet) Channel() types.Channel {
return cs.c
}