|
XML Security, 1.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.xml.crypto.dsig.TransformService
com.ibm.xml.crypto.dsig.dom.transform.TransformBase
com.ibm.xml.crypto.dsig.dom.transform.XPath2Transformer
public class XPath2Transformer
| Field Summary |
|---|
| Fields inherited from class com.ibm.xml.crypto.dsig.dom.transform.TransformBase |
|---|
node, spec |
| Fields inherited from interface javax.xml.crypto.dsig.Transform |
|---|
BASE64, ENVELOPED, XPATH, XPATH2, XSLT |
| Constructor Summary | |
|---|---|
XPath2Transformer()
|
|
| Method Summary | |
|---|---|
void |
init(TransformParameterSpec spec)
Initializes this TransformService with the specified
parameters. |
void |
init(XMLStructure parent,
XMLCryptoContext xcontext)
Initializes this TransformService with the specified
parameters and document context. |
void |
marshalParams(XMLStructure parent,
XMLCryptoContext xcontext)
Marshals the algorithm-specific parameters. |
Data |
transform(Data in,
XMLCryptoContext xcontext)
Transforms the specified data using the underlying transform algorithm. |
| Methods inherited from class com.ibm.xml.crypto.dsig.dom.transform.TransformBase |
|---|
getContext, getNode, getParameterSpec, isFeatureSupported, setNode, toNodeSet, transform |
| Methods inherited from class javax.xml.crypto.dsig.TransformService |
|---|
getAlgorithm, getInstance, getInstance, getInstance, getMechanismType, getProvider |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XPath2Transformer()
| Method Detail |
|---|
public void init(TransformParameterSpec spec)
throws java.security.InvalidAlgorithmParameterException
TransformServiceTransformService with the specified
parameters.
If the parameters exist in XML form, the
TransformService.init(XMLStructure, XMLCryptoContext) method should be used to
initialize the TransformService.
init in class TransformBasespec - the algorithm parameters (may be null if
not required or optional)
java.security.InvalidAlgorithmParameterException - if the specified parameters
are invalid for this algorithm
public void marshalParams(XMLStructure parent,
XMLCryptoContext xcontext)
throws MarshalException
TransformService
marshalParams in class TransformBaseparent - a mechanism-specific structure containing the parent
node that the marshalled parameters should be appended toxcontext - may be null
MarshalException - if the parameters cannot be marshalled
public void init(XMLStructure parent,
XMLCryptoContext xcontext)
throws java.security.InvalidAlgorithmParameterException
TransformServiceTransformService with the specified
parameters and document context.
init in class TransformBasexcontext - may be nullparent - a mechanism-specific structure containing the parent
structure
java.security.InvalidAlgorithmParameterException - if the specified parameters
are invalid for this algorithm
public Data transform(Data in,
XMLCryptoContext xcontext)
throws TransformException
Transform
transform in interface Transformin - the data to be transformedxcontext - the XMLCryptoContext containing
additional context (may be null if not applicable)
TransformException - if an error occurs while executing the
transform
|
XML Security, 1.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||