mirror of
https://github.com/status-im/keycard-go.git
synced 2025-02-08 10:05:13 +00:00
export Channel and SecureChannel from gp command set
This commit is contained in:
parent
a41d275957
commit
f0c61b868c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user