Documentation ¶ Index ¶ type Card func NewCard(card iso.PCSCCard) *Card func (c *Card) COSVersion() (string, error) func (c *Card) SerialNumber() (string, error) func (c *Card) Transmit(cmd *iso.CAPDU) ([]byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Card ¶ type Card struct { *iso.Card } func NewCard ¶ added in v0.8.0 func NewCard(card iso.PCSCCard) *Card func (*Card) COSVersion ¶ func (c *Card) COSVersion() (string, error) func (*Card) SerialNumber ¶ func (c *Card) SerialNumber() (string, error) func (*Card) Transmit ¶ func (c *Card) Transmit(cmd *iso.CAPDU) ([]byte, error) Transmit sends an APDU to the card and returns the response. This is a custom version of iso7816.Card.Transmit() as FEITIAN has a broken ISO-7816-4 implementation in their tokens. Source Files ¶ feitian.go Click to show internal directories. Click to hide internal directories.