public class StreamingSTRTransform
extends oracle.security.xmlsec.transform.XSTransformer
implements oracle.security.xmlsec.transform.NodeToStreamTransform
Modifier and Type | Class and Description |
---|---|
class |
StreamingSTRTransform.STRNodeReader |
Constructor and Description |
---|
StreamingSTRTransform(oracle.security.xmlsec.dsig.XSAlgorithmIdentifier trans)
Create a new
STRTransform instance. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithmURI()
Get the transformation algorithm URI.
|
java.lang.String |
getCanonicalizationMethod()
Get the transformation algorithm.
|
oracle.security.xmlsec.util.XMLContainer |
transform(oracle.security.xmlsec.util.XMLContainer source)
Applies the transform to the given
XMLContainer and returns the result in a new XMLContainer . |
oracle.security.xmlsec.util.XMLContainer |
transform(oracle.security.xmlsec.util.XMLContainer source, java.util.Map STRToST) |
java.io.InputStream |
transformToStream(oracle.security.xmlsec.util.NodeReader source)
transform method that does not actually do the transform, but only sets up things.
|
public StreamingSTRTransform(oracle.security.xmlsec.dsig.XSAlgorithmIdentifier trans)
STRTransform
instance.trans
- The tranformation parameters.public java.lang.String getAlgorithmURI()
getAlgorithmURI
in class oracle.security.xmlsec.transform.XSTransformer
XSTransformer.getAlgorithmURI()
public java.lang.String getCanonicalizationMethod()
public oracle.security.xmlsec.util.XMLContainer transform(oracle.security.xmlsec.util.XMLContainer source) throws oracle.security.xmlsec.transform.TransformationException
oracle.security.xmlsec.transform.XSTransformer
XMLContainer
and returns the result in a new XMLContainer
.
Implementing subclasses are responsible for ensuring that the given XMLContainer
contains the input required, and for any needed conversions if it does not.
transform
in class oracle.security.xmlsec.transform.XSTransformer
source
- A XMLContainer
on which the transform will operate.XMLContainer
containing the transform result.oracle.security.xmlsec.transform.TransformationException
- if an error occurs during the transformation process.public oracle.security.xmlsec.util.XMLContainer transform(oracle.security.xmlsec.util.XMLContainer source, java.util.Map STRToST) throws oracle.security.xmlsec.transform.TransformationException
oracle.security.xmlsec.transform.TransformationException
public java.io.InputStream transformToStream(oracle.security.xmlsec.util.NodeReader source) throws oracle.security.xmlsec.transform.TransformationException
oracle.security.xmlsec.transform.NodeToStreamTransform
transformToStream
in interface oracle.security.xmlsec.transform.NodeToStreamTransform
oracle.security.xmlsec.transform.TransformationException