Oracle Security Developer Tools Web Services Security Java API Reference
10g Release 2 (10.1.2.0.2)

B15570-01


oracle.security.xmlsec.wss.transform
Class STRTransform

java.lang.Object
  extended byoracle.security.xmlsec.transform.XSTransformer
      extended byoracle.security.xmlsec.wss.transform.STRTransform


public class STRTransform
extends oracle.security.xmlsec.transform.XSTransformer

The STR-Transform desribed in the OASIS WSS SOAP Message Security specification.


Field Summary

Fields inherited from class oracle.security.xmlsec.transform.XSTransformer
transform

Constructor Summary
STRTransform(oracle.security.xmlsec.dsig.XSAlgorithmIdentifier trans)
Create a new STRTransform instance.

Method Summary
java.lang.String getAlgorithmURI()
Get the transformation algorithm URI.
java.lang.String getCanonicalizationMethod()
Get the transformation algorithm.
protected 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.

Methods inherited from class oracle.security.xmlsec.transform.XSTransformer
applyTransforms, getInstance, getInstance, getTransform

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

STRTransform

public STRTransform(oracle.security.xmlsec.dsig.XSAlgorithmIdentifier trans)
Create a new STRTransform instance.
Parameters:
trans - The tranformation parameters.

Method Detail

getAlgorithmURI

public java.lang.String getAlgorithmURI()
Get the transformation algorithm URI.
Returns:
The algorithm URI.
See Also:
XSTransformer.getAlgorithmURI()

getCanonicalizationMethod

public java.lang.String getCanonicalizationMethod()
Get the transformation algorithm.
Returns:
The algorithm string.

transform

protected oracle.security.xmlsec.util.XMLContainer transform(oracle.security.xmlsec.util.XMLContainer source)
                                                      throws oracle.security.xmlsec.transform.TransformationException
Description copied from class: oracle.security.xmlsec.transform.XSTransformer
Applies the transform to the given 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.

Parameters:
source - A XMLContainer on which the transform will operate.
Returns:
A XMLContainer containing the transform result.
Throws:
oracle.security.xmlsec.transform.TransformationException - if an error occurs during the transformation process.

Oracle Security Developer Tools Web Services Security Java API Reference
10g Release 2 (10.1.2.0.2)

B15570-01


Copyright © 2005 , Oracle. All rights reserved.