sign(privateKey); // OutputStream으로 document를 String으로 변환 출력 XMLUtils.outputDOMc14nWithComments(doc, os); document를 String으로 변환할 때 indent가 생기는 변환법을 쓰면 서명검증이 당연하게 실패한다. indent를 넣...