locked
what is KeyIdentifier used for? RRS feed

Answers

  • There are multiple possible key identifiers - e.g. a thumbprint or the complete certificate is embedded inside the token / signature.

    On the receiving end - the SecurityTokenResolver classes are used to fetch the right key material (e.g. from the certificate store or re-hydrate the cert from the embedded base64 string inside the token)l.


    Dominick Baier | thinktecture | http://www.leastprivilege.com
    • Marked as answer by chintapali Thursday, January 13, 2011 3:07 PM
    Wednesday, January 12, 2011 11:18 PM

All replies

  • The key identifier for signatures is a hint for the receiver of the token. This hint must be sufficient enough for the receiver to fetch the right key material to verify the signature.
    Dominick Baier | thinktecture | http://www.leastprivilege.com
    Wednesday, January 12, 2011 8:02 PM
  • Thanks for the reponse can you please explain little bit more how key identifier is used to fetch right key material and verify the signature and how to do this programatically?

     

     


    ajit
    Wednesday, January 12, 2011 8:12 PM
  • There are multiple possible key identifiers - e.g. a thumbprint or the complete certificate is embedded inside the token / signature.

    On the receiving end - the SecurityTokenResolver classes are used to fetch the right key material (e.g. from the certificate store or re-hydrate the cert from the embedded base64 string inside the token)l.


    Dominick Baier | thinktecture | http://www.leastprivilege.com
    • Marked as answer by chintapali Thursday, January 13, 2011 3:07 PM
    Wednesday, January 12, 2011 11:18 PM