ctap_pcsc

package
v0.0.0-...-a896e00 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrAPDUStatus = errors.New("status word in APDU is not OK")

Functions

func NewDevice

func NewDevice(card *scard.Card) (*ctap.Device, error)

Types

type APDUNotSuccessError

type APDUNotSuccessError struct {
	SW1 uint8
	SW2 uint8
}

func (*APDUNotSuccessError) Error

func (e *APDUNotSuccessError) Error() string

func (*APDUNotSuccessError) Unwrap

func (e *APDUNotSuccessError) Unwrap() error

type DevicePCSC

type DevicePCSC struct {
	// contains filtered or unexported fields
}

func (*DevicePCSC) Init

func (d *DevicePCSC) Init() error

func (*DevicePCSC) SendCommand

func (d *DevicePCSC) SendCommand(command byte, data []byte) ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL