oAttr.setValue("#" + oXRID.getXmlID());
oAttr.setName(Tags.TAG_XRD);
oAttrStatement.setAttribute(oAttr);
// now we can create the true SAML Assertion
Assertion oAssertion = new Assertion();
NameID oIssuer = new NameID(Tags.TAG_ISSUER);
oIssuer.setValue("World's Best");
oAssertion.setIssuer(oIssuer);
oAssertion.setSubject(oSubject);
oAssertion.setAttrStatement(oAttrStatement);
oXRID.setSAMLAssertion(oAssertion);
oXRID.sign(oKP.getPrivate());
oXRID.verifySignature(oKP.getPublic());
String sXRID = oXRID.serializeDOM(false, true);