keycard-go/lightwallet/commands.go

23 lines
361 B
Go
Raw Normal View History

2018-10-22 17:33:53 +00:00
package lightwallet
import (
"github.com/status-im/smartcard-go/apdu"
"github.com/status-im/smartcard-go/globalplatform"
)
const (
InsInit = uint8(0xFE)
2018-10-23 10:06:00 +00:00
tagSelectResponsePreInitialized = uint8(0x80)
2018-10-22 17:33:53 +00:00
)
func NewCommandInit(data []byte) *apdu.Command {
return apdu.NewCommand(
globalplatform.ClaGp,
InsInit,
uint8(0x00),
uint8(0x00),
data,
)
}