SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 382 | Next

Vittorio Bertocci, Garrett Serack, Caleb Baker

"Understanding Windows CardSpace: An Introduction to the Concepts and Challenges of Digital Identities"


The standard CardSpace APIs are used for the following tasks:
 Open CardSpace??™s management experience
 Import a ?¬?le into CardSpace
 Get a token from CardSpace
 Get a browser token from CardSpace
The native APIs are available in the infocardapi.dll that installs
with CardSpace. To use these functions, infocard.h from the
Windows Platform SDK is needed.
The assembly System.IdentityModel.Selectors.dll,
which also installs with CardSpace, implements the
managed interfaces to CardSpace. The namespace used is
System.IdentiyModel.Selectors. These managed interfaces
are how WCF calls into CardSpace.
264 CardSpace Implementation
Manage CardSpace
To open CardSpace to Manage Cards is the most straightforward
of the calls. The call takes no parameters and opens CardSpace.
The native call is as follows:
HRESULT _stdcall ManageCardSpace();
And the managed call is this:
void CardSpaceSelector.Manage();
Import a CardSpace File
Two types of ?¬?les can be imported into CardSpace: a Managed
Card ?¬?le, issued by an IP; and a backup ?¬?le, which contains a
collection of the user??™s cards. Both can be imported into the
user??™s local store by calling the import API. This API will open
CardSpace and prompt the user to import the speci?¬?ed ?¬?le.


Pages:
370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394