New Sample: Decrypting a Security Token

You can find a new CardSpace sample that shows the nitty-gritty of decrypting a SecurityToken:

https://cardspace.netfx3.com/files/folders/samples-july-ctp/entry5152.aspx

This contains the code for a new Token class, (derived from TokenHelper) which exposes a few more features, to be discussed in the future.

Additonally, The decryption itself has been simplified, and can be done without .NET 3.0 (however, the authentication and verification still uses .NET 3.0 code )

 

g

Garrett Serack | Program Manager |Federated Identity Team | Microsoft Corporationblog:https://blogs.msdn.com/garretts