Categorygithub.com/jumpycalm/goscard
modulepackage
0.0.0-20241006055417-6ad9f0268463
Repository: https://github.com/jumpycalm/goscard.git
Documentation: pkg.go.dev

# README

goscard

Go Reference

goscard is a PCSC / SCard wrapper in pure Go, without any CGO bindings.

It implements all WinSCard functions on Windows, PCSCLite functions on Linux and PCSC framework functions on MacOSX.

Shoutout to the purego project, without which Linux / MacOSX support wouldn't have been possible!

Usage

See the pcsc example.

# Packages

No description provided by the author

# Functions

Finalize is the very last function that must be called on the library.
Initialize is the very first function that must be called on goscard.
NewContext is a wrapper around SCardEstablichContext.
No description provided by the author
NewInfiniteTimeout creates a new Timeout with the InifiniteTimeout duration.
NewTimeout creates a new Timeout from the passed time.Duration.
Returns a human readable text for the given PC/SC error code.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Properties returned by FEATURE_GET_TLV_PROPERTIES.
Properties returned by FEATURE_GET_TLV_PROPERTIES.
Properties returned by FEATURE_GET_TLV_PROPERTIES.
Properties returned by FEATURE_GET_TLV_PROPERTIES.
Properties returned by FEATURE_GET_TLV_PROPERTIES.
Properties returned by FEATURE_GET_TLV_PROPERTIES.
Properties returned by FEATURE_GET_TLV_PROPERTIES.
Properties returned by FEATURE_GET_TLV_PROPERTIES.
Properties returned by FEATURE_GET_TLV_PROPERTIES.
Properties returned by FEATURE_GET_TLV_PROPERTIES.
Properties returned by FEATURE_GET_TLV_PROPERTIES.
Properties returned by FEATURE_GET_TLV_PROPERTIES.
Card is absent.
No description provided by the author
Communication definitions.
ICC State specific definitions.
Interface Device Protocol options.
Mechanical characteristic definitions.
Power Management definitions.
Protocol definitions.
Security Assurance definitions.
System-specific definitions.
Vendor specific definitions.
Vendor information definitions.
No description provided by the author
Eject on close.
Do nothing on close.
No description provided by the author
Ready for PTS.
Card is powered.
Card is present.
IFD determines prot.
Raw active protocol.
T=0 active protocol.
T=1 active protocol.
T=15 protocol.
protocol not set.
backward compat.
Reset on close.
Scope is global.
Scope in system.
Scope in terminal.
Scope in user space.
Raw mode only.
Exclusive mode only.
Shared mode only.
PTS has been set.
ATR matches card.
State has changed.
Card removed.
Exclusive Mode.
Ignore this reader.
Shared Mode.
Unresponsive card.
Card inserted.
Status unavailable.
App wants status.
Reader unknown.
Unpowered card.
Card not powered.
No description provided by the author
Unknown state.
Power down on close.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Card is a wrapper around a SCardHandle and its SCardProtocol.
CardStatus is a wrapper around the information that SCardStatus returns.
Context is a wrapper around a SCardContext.
No description provided by the author
Structure used with FEATURE_MODIFY_PIN_DIRECT.
Structure used with FEATURE_IFD_PIN_PROPERTIES.
Structure used with FEATURE_VERIFY_PIN_DIRECT.
Protocol Control Information (PCI).
No description provided by the author
Timeout represents the timeout to be used with SCard related function.

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author