EncryptedKey ek = new EncryptedKey(message,context,(HashMap) currentParentNS);
context.getSecurityContext().getProcessedSecurityHeaders().add(ek);
return ek;
}
case ENCRYPTED_DATA_ELEMENT :{
EncryptedData ed = new EncryptedData(message,context, (HashMap) currentParentNS);
context.getSecurityContext().getProcessedSecurityHeaders().add(ed);
return ed;
}
case USERNAMETOKEN_ELEMENT :{
UsernameTokenHeader ut = new UsernameTokenHeader(message,creator,(HashMap) currentParentNS, staxIF);