24 lines
408 B
Go
24 lines
408 B
Go
package lightwallet
|
|
|
|
import (
|
|
"github.com/status-im/smartcard-go/apdu"
|
|
"github.com/status-im/smartcard-go/globalplatform"
|
|
)
|
|
|
|
const (
|
|
InsInit = uint8(0xFE)
|
|
|
|
TagSelectResponsePreInitialized = uint8(0x80)
|
|
TagApplicationInfoTemplate = uint8(0xA4)
|
|
)
|
|
|
|
func NewCommandInit(data []byte) *apdu.Command {
|
|
return apdu.NewCommand(
|
|
globalplatform.ClaGp,
|
|
InsInit,
|
|
uint8(0x00),
|
|
uint8(0x00),
|
|
data,
|
|
)
|
|
}
|