public class StringXmlSignatureHelper extends Object
Constructor and Description |
---|
StringXmlSignatureHelper() |
Modifier and Type | Method and Description |
---|---|
protected XmlSignatureConfig |
findXmlSignatureConfig(String userId) |
String |
getEscapeXml(String userId)
读取转义后的数字签名使用的XML内容,userId为null的话,会随机读取一个配置节点做userId
|
String |
getSignatureXml(String userId)
生成签名的XML文件
|
String |
getTemplateXml(String userId)
读取数字签名使用的XML内容,userId为null的话,会随机读取一个配置节点做userId
|
XmlSignatureManager |
getXmlSignatureManager() |
XmlSignatureProcessor |
getXmlSignatureProcessor() |
void |
setXmlSignatureManager(XmlSignatureManager xmlSignatureManager) |
void |
setXmlSignatureProcessor(XmlSignatureProcessor xmlSignatureProcessor) |
public XmlSignatureProcessor getXmlSignatureProcessor()
public void setXmlSignatureProcessor(XmlSignatureProcessor xmlSignatureProcessor)
public XmlSignatureManager getXmlSignatureManager()
public void setXmlSignatureManager(XmlSignatureManager xmlSignatureManager)
public String getTemplateXml(String userId)
userId
- public String getSignatureXml(String userId)
userId
- protected XmlSignatureConfig findXmlSignatureConfig(String userId)
Copyright © 2006–2018 TinyGroup. All rights reserved.