mirror of
https://github.com/status-im/keycard-go.git
synced 2025-01-09 19:36:36 +00:00
30f7fad9f3
* Adds export-key implementation * fix p1 constants for derive key command * Adds reusable constants for p1/p2 values in ExportKey * Moves EXPORT constants and OR operates on p2 for ExportKey * Adds PGP signature
13 lines
283 B
Go
13 lines
283 B
Go
package types
|
|
|
|
import "github.com/status-im/keycard-go/apdu"
|
|
|
|
// Channel is an interface with a Send method to send apdu commands and receive apdu responses.
|
|
type Channel interface {
|
|
Send(*apdu.Command) (*apdu.Response, error)
|
|
}
|
|
|
|
type PairingInfo struct {
|
|
Key []byte
|
|
Index int
|
|
} |