electric.soap.security.signature.xml
Interface IReferenceProcessor

All Known Implementing Classes:
WSSReferenceProcessor

public interface IReferenceProcessor

IReferenceProcessor

Author:
webMethods

Method Summary
 Element addReference(Document document, ElementReference reference)
          Add a new reference to the given document, and return the resulting <reference> element.
 ElementReference elementToReference(Element rootElement, Element referenceElement)
          Given a <reference> element from a signed document, create a new ElementReference object.
 Element resolveReference(Element rootElement, ElementReference reference)
           
 

Method Detail

resolveReference

public Element resolveReference(Element rootElement,
                                ElementReference reference)
Parameters:
rootElement -
reference -
Returns:
the referenced element.

addReference

public Element addReference(Document document,
                            ElementReference reference)
Add a new reference to the given document, and return the resulting <reference> element.

Parameters:
document -
reference -
Returns:
the newly created <reference> element.

elementToReference

public ElementReference elementToReference(Element rootElement,
                                           Element referenceElement)
Given a <reference> element from a signed document, create a new ElementReference object.

Parameters:
rootElement -
referenceElement -
Returns:
an ElementReference.


copyright© 2001-2004 by webMethods All Rights Reserved.