Documentation ¶
Index ¶
- Variables
- func HasAttribute(attr scard.Attrib, value []byte) filter.Filter
- func NewCard(ctx *scard.Context, reader string, shared bool) (*iso.Card, error)
- func OpenCards(ctx *scard.Context, cnt int, flt filter.Filter, shared bool) (cards []iso.PCSCCard, err error)
- func OpenFirstCard(ctx *scard.Context, flt filter.Filter, shared bool) (iso.PCSCCard, error)
- type Card
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoCardFound = errors.New("no card found")
Functions ¶
func HasAttribute ¶
HasAttribute uses the PCSC API SCardGetAttrib to check if the card has given attribute
Types ¶
type Card ¶
Card implements the iso7816.PCSCCard interface via github.com/ebfe/scard.
func (*Card) BeginTransaction ¶
BeginTransaction wraps SCardBeginTransaction.
func (*Card) EndTransaction ¶
EndTransaction wraps SCardEndTransaction.
Click to show internal directories.
Click to hide internal directories.