Versions in this module Expand all Collapse all v0 v0.1.5 Apr 12, 2024 Changes in this version + type ClSam struct + func ConnectSam(r smartcard.IReader) (*ClSam, error) + func NewClSam(c smartcard.ICard) *ClSam + func (s *ClSam) Apdu(data []byte) ([]byte, error) + func (s *ClSam) GetKey(keyfile []byte) (int, error) + func (s *ClSam) GetResponse(lenResponse int) ([]byte, error) + func (s *ClSam) OsInfo() ([]byte, error) + func (s *ClSam) PutFile(fileId, data []byte) ([]byte, error) + func (s *ClSam) ReadBinary(lenData int) ([]byte, error) + func (s *ClSam) ReadBinary00(lenData int) ([]byte, error) + func (s *ClSam) ResetChannel(data []byte) error + func (s *ClSam) SelectFile(fileId []byte) error + func (s *ClSam) SelectFile00(fileId []byte) error + func (s *ClSam) Serial() ([]byte, error) + func (s *ClSam) UID() ([]byte, error) + func (s ClSam) PinVerify(data []byte) error