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.
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
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?
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.