Skip navigation links

Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10680-04


oracle.security.xmlsec.transform
Class EnvelopedSigTransform

java.lang.Object
  extended by oracle.security.xmlsec.transform.XSTransformer
      extended by oracle.security.xmlsec.transform.EnvelopedSigTransform

All Implemented Interfaces:
NodeFilterTransform

public class EnvelopedSigTransform
extends XSTransformer
implements NodeFilterTransform

Internal use only. Applies the XML-DSIG Enveloped Signature Transform.


Field Summary

 

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

 

Fields inherited from interface oracle.security.xmlsec.transform.NodeFilterTransform
NO_TO_SELF, NO_TO_SELF_AND_DESCENDANTS, YES_TO_SELF, YES_TO_SELF_AND_DESCENDANTS

 

Constructor Summary
EnvelopedSigTransform(XSAlgorithmIdentifier trans)
          Creates a new EnvelopedSigTransform instance.

 

Method Summary
 int accept(org.w3c.dom.Node node)
          return YES_TO_SELF, NO_TO_SELF, YES_TO_SELF_AND_DESCENDANTS or YES_TO_SELF_AND_DESCENDANTS depending on whether the node is filtered out
 java.lang.String getAlgorithmURI()
          Returns the URI string identifying the Transform algorithm.
 XMLContainer transform(XMLContainer source)
          Applies the Enveloped Signature transformation to the given XMLContainer and returns the node list 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

EnvelopedSigTransform

public EnvelopedSigTransform(XSAlgorithmIdentifier trans)
Creates a new EnvelopedSigTransform instance.
Parameters:
trans - A XSAlgorithmIdentifier object containing no parameters.
Throws:
java.lang.IllegalArgumentException - If the XSAlgorithmIdentifier is not a valid Enveloped Signature Transform.

Method Detail

getAlgorithmURI

public java.lang.String getAlgorithmURI()
Description copied from class: XSTransformer
Returns the URI string identifying the Transform algorithm.
Specified by:
getAlgorithmURI in class XSTransformer
Returns:
This Transform's URI string.

transform

public XMLContainer transform(XMLContainer source)
                       throws TransformationException
Applies the Enveloped Signature transformation to the given XMLContainer and returns the node list result in a new XMLContainer.
Specified by:
transform in class XSTransformer
Parameters:
source - A XMLContainer on which the transform will operate.
Returns:
A XMLContainer containing the transform node list result.
Throws:
TransformationException - if an error occurs during the transformation process.

accept

public int accept(org.w3c.dom.Node node)
           throws TransformationException
Description copied from interface: NodeFilterTransform
return YES_TO_SELF, NO_TO_SELF, YES_TO_SELF_AND_DESCENDANTS or YES_TO_SELF_AND_DESCENDANTS depending on whether the node is filtered out
Specified by:
accept in interface NodeFilterTransform
Returns:
Throws:
TransformationException

Skip navigation links

Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10680-04


Copyright © 2005, 2011 , Oracle. All rights reserved.