regarding SCardReadCache/ScardWriteCache



Hi,

I have some doubt about SCardReadCache and SCardWriteCache functions.
Can any of you please clarify.

I think while reading card during initialization , we will read the
data from the card using SCardTransmit and Write(initialize) to the
cache. And if any other process needs that data it will first check in
the cache and use it if it is found.

While writing the data to the card, we will update the data to the
smartcard using SCardTransmit function and update the cache using
SCardWriteCache.

Does Microsoft recommend any specific cache/card write sequence to
keep card data and cached data in sync. and How to use the
FreshnessCounter parameter? And How do we organize the
SCardWriteCache data and relate it to data on the card

It is given that data is stored in global cache maintained by the
Smartcard Resource manager. Where the cached data get stored
physically? How is data in the cache is protected? Is it encrypted?
Can we keep sensitive data in the cache or only use it
to cache public data.

I also found that the data in the cache can be used by all the process
running in user context. Is it right? What about the services running
using System account. Can they access this cached data?

Regards,
Kamal.

.



Relevant Pages

  • Re: AS3502WLCi vs AS3002WLCi - Advice needed
    ... Home would work with the 1mb cache, but if the cache isn't that important ... > amdchip with half the ram and a smaller hd slightly better video card. ... >> 3502 Notebook Specifications ...
    (comp.sys.laptops)
  • Re: ATA Raid Controller Recommendations
    ... > but i can't seem to find any reviews on this card anywhere, ... > has a rather minimal amount of cache, ... All ATA RAID relies on cache to _attempt_ to achieve reasonable ... Unless of course you don't mind your mail spool ...
    (comp.os.linux.hardware)
  • Re: Recode to Play MP3?
    ... space contains ROM in order to cache it. ... case where a card used it for something else, ... The Transwarp only writes through when it has to (to the above ... store instruction--like bank-switching or DMA. ...
    (comp.sys.apple2)
  • Re: Recode to Play MP3?
    ... space contains ROM in order to cache it. ... case where a card used it for something else, ... And maybe not even those, at least on a //e, since DMA is not allowed ... I believe the Transwarp III claimed DMA compatibility, ...
    (comp.sys.apple2)