Module org.apache.santuario.xmlsec
Class TransformSerializer
java.lang.Object
org.apache.xml.security.encryption.AbstractSerializer
org.apache.xml.security.encryption.TransformSerializer
- All Implemented Interfaces:
Serializer
Converts
Strings into Nodes and visa versa. This requires Xalan to
work properly.-
Field Summary
Fields inherited from class org.apache.xml.security.encryption.AbstractSerializer
secureValidation -
Constructor Summary
ConstructorsConstructorDescriptionTransformSerializer(boolean secureValidation) TransformSerializer(String canonAlg, boolean secureValidation) -
Method Summary
Methods inherited from class org.apache.xml.security.encryption.AbstractSerializer
createContext, serializeToByteArray, serializeToByteArray
-
Constructor Details
-
TransformSerializer
public TransformSerializer(boolean secureValidation) throws InvalidCanonicalizerException, TransformerConfigurationException -
TransformSerializer
public TransformSerializer(String canonAlg, boolean secureValidation) throws TransformerConfigurationException, InvalidCanonicalizerException
-
-
Method Details
-
deserialize
- Parameters:
source-ctx-- Returns:
- the Node resulting from the parse of the source
- Throws:
XMLEncryptionExceptionIOException
-