Interface DSSTransform
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractTransform,Base64Transform,CanonicalizationTransform,ComplexTransform,EnvelopedSignatureTransform,SPDocDigestAsInSpecificationTransform,XPath2FilterEnvelopedSignatureTransform,XPath2FilterTransform,XPathEnvelopedSignatureTransform,XPathTransform,XsltTransform
Defines a transform used for a reference transformations
-
Method Summary
Modifier and TypeMethodDescriptioncreateTransform(Document document, Element parentNode) Creates a Transform element DOM and appends it to theparentNodeReturns a particular transformation algorithm namebyte[]Performs transformation on the givennodeand returns resulting bytesvoidsetNamespace(DSSNamespace namespace) Specifies a namespace for the transformation elements
-
Method Details
-
getAlgorithm
String getAlgorithm()Returns a particular transformation algorithm name- Returns:
Stringalgorithm name of transformation
-
setNamespace
Specifies a namespace for the transformation elements- Parameters:
namespace-DSSNamespaceuri
-
getBytesAfterTransformation
Performs transformation on the givennodeand returns resulting bytes- Parameters:
node-Nodeto perform transformation on- Returns:
- byte array
-
createTransform
Creates a Transform element DOM and appends it to theparentNode
-