concept AssertionId in category system administration

appears as: AssertionId, n AssertionId, AssertionId
SOA Security

This is an excerpt from Manning's book SOA Security.

Recall that we need the ability to refer to an element in order to include its digest as part of SignedInfo. In chapter 7, we saw how we can refer to any element using its wsu:Id (or simply Id for elements defined by the XML-Signature and XML-Encryption specs) attribute value. As SAML Assertion elements already have an attribute named AssertionId that is declared as an identifier by the SAML schema, there’s now a dilemma when referring to an Assertion. Which identifier attribute’s value should we use to refer to a SAML Assertion?

Use of both wsu:Id and AssertionId attributes is not a good idea, as it can lead to confusion and inconsistency. Use of just wsu:Id is not possible, as the SAML schema requires an AssertionId on every Assertion. Use of just AssertionId is also not a clean solution, as the signature verifier will now need to look for three different attributes—wsu:Id, Id, and AssertionId, depending on what the referred element happens to be.