|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.xml.security.transforms.Transform
public abstract class Transform
Represents a transformation to be applied to data before applying a
cryptographic operation such as digesting.
A Transform consists of an Algorithm attribute
and a set of parameters, if any, appropriate for the given algorithm.
| Field Summary | |
|---|---|
static String |
ENVELOPED
|
static String |
W3C_C14N
|
static String |
W3C_C14N_WC
|
static String |
W3C_EXC_C14N
|
static String |
W3C_EXC_C14N_WC
|
protected static XMLOutputStreamFactory |
xfactory
|
static String |
XPATH
|
| Constructor Summary | |
|---|---|
Transform()
|
|
| Method Summary | |
|---|---|
protected void |
fromXMLInternal(XMLInputStream xin,
String ns)
|
static Transform |
getTransform(String uri)
|
abstract String |
getURI()
|
abstract XMLOutputStream |
getXMLOutputStream()
|
static void |
main(String[] args)
|
void |
setDest(Transform dest)
Allows Transforms to be chained. |
abstract void |
setNamespaces(Map namespaceMap)
setNamespaces allows the caller to pass in a set of
namespaces in the scope of but not declared in the node/data
being transformed. |
void |
setParameter(String name,
String value)
Sets a parameter for the Transform. |
void |
toXML(XMLOutputStream xos,
String ns,
int indent)
|
protected void |
toXMLInternal(XMLOutputStream xos,
String ns,
int indent)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final XMLOutputStreamFactory xfactory
public static final String XPATH
public static final String W3C_C14N
public static final String W3C_C14N_WC
public static final String W3C_EXC_C14N
public static final String W3C_EXC_C14N_WC
public static final String ENVELOPED
| Constructor Detail |
|---|
public Transform()
| Method Detail |
|---|
public static Transform getTransform(String uri)
throws TransformException
Transform that implements the specified URI
TransformExceptionpublic abstract String getURI()
Transform
public void setParameter(String name,
String value)
throws TransformException
Transform. For example, this may
be used to set the XPath expression for an XPath Transform
TransformExceptionpublic abstract void setNamespaces(Map namespaceMap)
setNamespaces allows the caller to pass in a set of
namespaces in the scope of but not declared in the node/data
being transformed. This allows the c14n algorith to fill in the
missing pieces.
namespaceMap - a Map value
public abstract XMLOutputStream getXMLOutputStream()
throws XMLStreamException
XMLStreamException
public final void setDest(Transform dest)
throws IncompatibleTransformException
Transforms to be chained.
IncompatibleTransformException
public void toXML(XMLOutputStream xos,
String ns,
int indent)
throws XMLStreamException
XMLStreamException
protected void toXMLInternal(XMLOutputStream xos,
String ns,
int indent)
throws XMLStreamException
XMLStreamException
protected void fromXMLInternal(XMLInputStream xin,
String ns)
throws XMLStreamException
XMLStreamException
public static void main(String[] args)
throws Exception
Exception
|
Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||