Documentation ¶
Overview ¶
* package to handle the communication of smartcard devices under the PCSC implementation
projects on which it is based:
https://github.com/LudovicRousseau/PCSC https://github.com/ebfe/scard
/*
* package to handle the communication of smartcard devices under the PCSC implementation
projects on which it is based:
https://github.com/LudovicRousseau/PCSC https://github.com/ebfe/scard
/*
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrComm = Error(errors.New("error communication"))
View Source
var ErrTransmit = Error(errors.New("error transmit"))
Functions ¶
Types ¶
type ICard ¶
type ICard interface { Apdu(apdu []byte) ([]byte, error) ATR() ([]byte, error) UID() ([]byte, error) ATS() ([]byte, error) DisconnectCard() error }
ICard Interface
type ISO7816cmd ¶
ISO7816cmd command ISO7816
func (*ISO7816cmd) PrefixApdu ¶
func (cmd *ISO7816cmd) PrefixApdu() []byte
type SmartcardError ¶
type SmartcardError struct {
Err error
}
func (*SmartcardError) Error ¶
func (e *SmartcardError) Error() string
Directories ¶
Path | Synopsis |
---|---|
* package to handle the communication of smartcard devices under the PCSC implementation projects on which it is based: https://github.com/LudovicRousseau/PCSC github.com/ebfe/scard /* * package to handle the communication of "omnikey/multi-iso" reader projects on which it is based: https://github.com/dumacp/smartcard /*
|
* package to handle the communication of smartcard devices under the PCSC implementation projects on which it is based: https://github.com/LudovicRousseau/PCSC github.com/ebfe/scard /* * package to handle the communication of "omnikey/multi-iso" reader projects on which it is based: https://github.com/dumacp/smartcard /* |
mifare
* Implementation to mifare smartcard family (Mifare Plus, Desfire, SamAV2, ...) /*
|
* Implementation to mifare smartcard family (Mifare Plus, Desfire, SamAV2, ...) /* |
mifare/desfire/ev2
* package with common functions to manage a Desfire TAG projects on which it is based: https://github.com/LudovicRousseau/PCSC https://github.com/ebfe/scard https://github.com/dumacp/smartcard /*
|
* package with common functions to manage a Desfire TAG projects on which it is based: https://github.com/LudovicRousseau/PCSC https://github.com/ebfe/scard https://github.com/dumacp/smartcard /* |
* package to handle the communication of smartcard devices under the PCSC implementation projects on which it is based: https://github.com/LudovicRousseau/PCSC https://github.com/ebfe/scard /*
|
* package to handle the communication of smartcard devices under the PCSC implementation projects on which it is based: https://github.com/LudovicRousseau/PCSC https://github.com/ebfe/scard /* |
samfarmbin
* this app implements a SAMav2 cluster through MQTT topics The messages are APDU Commands ([]byte) sent to "<topicName*Inputs>", and APDU Responses ([]byte) that are left in "<topicNameOutput>" * <topicNameAsyncInputs> is the prefix of topic to generic command (sent to any SAM device).
|
* this app implements a SAMav2 cluster through MQTT topics The messages are APDU Commands ([]byte) sent to "<topicName*Inputs>", and APDU Responses ([]byte) that are left in "<topicNameOutput>" * <topicNameAsyncInputs> is the prefix of topic to generic command (sent to any SAM device). |
Click to show internal directories.
Click to hide internal directories.