oracle.security.xmlsec.transform
Class ExcC14NTransform
java.lang.Object
oracle.security.xmlsec.transform.XSTransformer
oracle.security.xmlsec.transform.ExcC14NTransform
- Direct Known Subclasses:
- ExcC14NWithCommentsTransform
- public class ExcC14NTransform
- extends XSTransformer
Internal use only. Applies Exclusive Canonical XML version 1.0 as a Transform.
- Since:
- 1.1
Method Summary |
java.lang.String |
getAlgorithmURI()
Returns the URI string identifying the Transform algorithm. |
protected XMLContainer |
transform(XMLContainer source)
Applies the Exclusive Canonical XML transformation to the given XMLContainer and returns the octet stream result a new XMLContainer . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExcC14NTransform
public ExcC14NTransform()
- Creates a new
ExcC14NTransform
instance.
ExcC14NTransform
public ExcC14NTransform(java.lang.String inclusiveNSList)
- Creates a new
ExcC14NTransform
instance.
- Parameters:
inclusiveNSList
- A whitespace-separated list of namespaces to be included as per XML-C14N.
ExcC14NTransform
public ExcC14NTransform(XSAlgorithmIdentifier trans)
- Creates a new
ExcC14NTransform
instance.
- Parameters:
trans
- A XSAlgorithmIdentifier
object.
- Throws:
java.lang.IllegalArgumentException
- If the XSAlgorithmIdentifier
is not a valid Exclusive XML-C14N Transform.
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
protected XMLContainer transform(XMLContainer source)
throws TransformationException
- Applies the Exclusive Canonical XML transformation to the given
XMLContainer
and returns the octet stream result 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 octet stream result.
- Throws:
TransformationException
- if an error occurs during the transformation process.
Copyright © 2005 , Oracle. All rights reserved.