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.
func (*Card) Metadata ¶ added in v0.5.0
See: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetattrib
Click to show internal directories.
Click to hide internal directories.