public class TransformImplEnvelopedSignature extends Transform
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
DEFAULT_ALGORITHM_URI_
The default algorithm URI for this algorithm implementation.
|
protected org.w3c.dom.Element |
transformDOMElem_
The DOM element representation of this transform.
|
protected TransformImplXPath2 |
xPath2Transform_
The XPath Filter 2 transform implementation used by this class.
|
inputNodeSet_, inputOctetStream_, inputURI_| Constructor and Description |
|---|
TransformImplEnvelopedSignature()
Default constructor, sets the default value for the algorithm URI to
http://www.w3.org/2000/09/xmldsig#enveloped-signature. |
| Modifier and Type | Method and Description |
|---|---|
void |
setParameters(org.w3c.dom.Element transformElement)
Sets the parameters for this Enveloped Signature transform implementation.
|
org.w3c.dom.Element |
toElement(org.w3c.dom.Document signatureDOMDoc)
Returns the DOM element representation of the transform.
|
java.lang.Object |
transform()
Computes the transform result for the enveloped signature transform.
|
distributeNSDeclarations, setInput, setInput, skipStylesheetElem, withdrawDistributedNSDeclarationsprotected static final java.lang.String DEFAULT_ALGORITHM_URI_
protected TransformImplXPath2 xPath2Transform_
protected org.w3c.dom.Element transformDOMElem_
public TransformImplEnvelopedSignature()
http://www.w3.org/2000/09/xmldsig#enveloped-signature.public void setParameters(org.w3c.dom.Element transformElement)
transformElement).setParameters in class AlgorithmtransformElement - The DOM element representation of the transform, as it will be found by IXSIL
in the XML signature.public org.w3c.dom.Element toElement(org.w3c.dom.Document signatureDOMDoc)
throws AlgorithmException
toElement in class AlgorithmsignatureDOMDoc - The DOM document which should be used to create necessary DOM nodes.AlgorithmException - if computing the DOM element representation fails for any reason.public java.lang.Object transform()
throws AlgorithmException
transform in class TransformAlgorithmException - if the transform result cannot be computed for any reason.