WICG / web-smart-card

Repository for the Web Smart Card Explainer
Other
42 stars 3 forks source link

Replace the high-level interfaces with a low-level one. #4

Closed dandrader closed 1 year ago

dandrader commented 1 year ago

Remove SmartCardReader and SmartCardReaderPresenceObserver (thus also SmartCardResourceManager.getReaders and watchForReaders methods). Those are replaced with a SmartCardContext interface and a SmartCardResourceManager.establishContext method.

This low-level API makes it simpler for remote access applications to map winscard.h commands received from the remote app to Web Smart Card API usage. Particularly SCardGetStatusChange.