public Element getClaims() throws XWSSecurityException{
if (tokenPolicy == null) {
return null;
}
KeyBindingBase kb = (KeyBindingBase) tokenPolicy.getFeatureBinding();
Element claimsElement = null;
byte[] claimBytes = kb.getClaims();
if (claimBytes != null) {
try {
DocumentBuilderFactory dbf = WSITXMLFactory.createDocumentBuilderFactory(WSITXMLFactory.DISABLE_SECURE_PROCESSING);
dbf.setNamespaceAware(true);
DocumentBuilder db = dbf.newDocumentBuilder();