Expand description
§winscard-rs
Modules§
- Constants with most popular tags used in this PIV smart card implementation.
- The winscard module contains traits for easier interop between WinSCard API and our emulated scard.
Structs§
- Represents general WinSCard error.
- Describes a smart card reader.
- Represents a response after the APDU command execution.
- Represents the resource manager context (the scope).
- Emulated smart card.
- Describes smart card info used for the smart card creation.
Enums§
- Represents Status Word (SW) - a 2-byte value returned by a card command at the card edge. Table 6. Status Words
Constants§
- The original winscard ATR is not suitable because it contains AID bytes. So we need to construct our own. Read more about our constructed ATR string: https://smartcard-atr.apdu.fr/parse?ATR=3B+8D+01+80+FB+A0+00+00+03+08+00+00+10+00+01+00+4D
- The max amount of data one APDU response can transmit.
- Default name of the emulated smart card.
- Default CSP name.
- Supported connection protocol in emulated smart cards.
Functions§
- Encodes the length in BER encoding.
Type Aliases§
- The WinScardResult type.