diff --git a/globalplatform/command_set.go b/globalplatform/command_set.go index d5af556..193b42a 100644 --- a/globalplatform/command_set.go +++ b/globalplatform/command_set.go @@ -143,6 +143,14 @@ func (cs *CommandSet) InstallForInstall(packageAID, appletAID, instanceAID, para return cs.checkOK(resp, err) } +func (cs *CommandSet) Channel() types.Channel { + return cs.c +} + +func (cs *CommandSet) SecureChannel() *SecureChannel { + return cs.sc +} + func (cs *CommandSet) initializeUpdate(hostChallenge []byte) error { cmd := NewCommandInitializeUpdate(hostChallenge) resp, err := cs.c.Send(cmd)