public class DocumentSerializer extends AbstractSerializer
String
s into Node
s and visa versa.secureValidation
Constructor and Description |
---|
DocumentSerializer(boolean secureValidation) |
DocumentSerializer(String canonAlg,
boolean secureValidation) |
Modifier and Type | Method and Description |
---|---|
Node |
deserialize(byte[] source,
Node ctx) |
createContext, serializeToByteArray, serializeToByteArray
public DocumentSerializer(boolean secureValidation) throws InvalidCanonicalizerException
InvalidCanonicalizerException
public DocumentSerializer(String canonAlg, boolean secureValidation) throws InvalidCanonicalizerException
InvalidCanonicalizerException
public Node deserialize(byte[] source, Node ctx) throws XMLEncryptionException, IOException
source
- ctx
- XMLEncryptionException
IOException
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.