/** * BASE64-Encode the raw token bytes + store them in a text child node. */ public void encodeRawToken() { if (data == null) { throw new IllegalArgumentException("data == null"); } Text node = getFirstNode(); node.setData(org.apache.xml.security.utils.XMLUtils.encodeToString(data)); }
Text node = getFirstNode(); node.setData(org.apache.xml.security.utils.XMLUtils.encodeToString(data)); setRawToken(data);