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
FieldsFields inherited from class org.apache.xml.security.encryption.AbstractSerializer
secureValidation -
Constructor Summary
ConstructorsConstructorDescriptionTransformSerializer(boolean secureValidation) TransformSerializer(String canonAlg, boolean secureValidation) -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(byte[] source, Node ctx) private Nodedeserialize(Node ctx, Source source) Methods inherited from class org.apache.xml.security.encryption.AbstractSerializer
createContext, serializeToByteArray, serializeToByteArray
-
Field Details
-
transformerFactory
-
-
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
-
deserialize
- Parameters:
ctx-source-- Returns:
- the Node resulting from the parse of the source
- Throws:
XMLEncryptionException
-