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