* finds whether the this security header element refers to the element with given id
* @param id String
* @return boolean
*/
public boolean refersToSecHdrWithId(String id) {
KeyInfo ki = (KeyInfo) this.edt.getKeyInfo();
if(ki != null){
List list = ki.getContent();
if(list.size() >0 ){
Object data = ((JAXBElement)list.get(0)).getValue();
if(data instanceof SecurityHeaderElement){
if(((SecurityHeaderElement)data).refersToSecHdrWithId(id)){
return true;