Xades4j and Base64 in EnvelopedXmlObject
问题 I tried to insert Base64 string into Object in EnvelopedXmlObject: DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance(); dbFactory.setNamespaceAware(true); DocumentBuilder dBuilder = dbFactory.newDocumentBuilder(); Document document = dBuilder.newDocument(); String generatedDocument = ...; BASE64Encoder encoder = new BASE64Encoder(); String generatedDocumentEncoded = encoder.encode(generatedDocument .getBytes("UTF-8")); Node node1 = document.createTextNode