public abstract class DsigXmlSignatureProcessor extends AbstractXmlSignatureProcessor
Modifier and Type | Field and Description |
---|---|
protected Logger |
LOGGER |
protected XMLSignatureFactory |
xmlSignatureFactory |
Constructor and Description |
---|
DsigXmlSignatureProcessor() |
DsigXmlSignatureProcessor(String mechanismType) |
Modifier and Type | Method and Description |
---|---|
protected CanonicalizationMethod |
createCanonicalizationMethod(XmlSignatureConfig config)
创建CanonicalizationMethod
|
protected KeyInfo |
createKeyInfo(XmlSignatureConfig config)
创建KeyInfo
|
protected abstract List<Reference> |
createReference(Document doc,
XmlSignatureConfig config)
创建References
|
protected SignatureMethod |
createSignatureMethod(XmlSignatureConfig config)
创建SignatureMethod
|
protected SignedInfo |
createSignedInfo(CanonicalizationMethod cm,
SignatureMethod sm,
List<Reference> references)
创建SignedInfo
|
protected XMLSignature |
createXMLSignature(SignedInfo si,
KeyInfo ki)
创建XMLSignature
|
protected void |
transform(Document doc,
OutputStream output)
输出签名完毕的XML
|
convertDocument, createXmlSignature, createXmlSignature, createXmlSignature, getXmlSignatureManager, setXmlSignatureManager, validateXmlSignature, validateXmlSignature, validateXmlSignature
protected XMLSignatureFactory xmlSignatureFactory
protected Logger LOGGER
public DsigXmlSignatureProcessor()
public DsigXmlSignatureProcessor(String mechanismType)
protected abstract List<Reference> createReference(Document doc, XmlSignatureConfig config) throws Exception
Exception
protected CanonicalizationMethod createCanonicalizationMethod(XmlSignatureConfig config) throws Exception
config
- Exception
protected SignatureMethod createSignatureMethod(XmlSignatureConfig config) throws Exception
config
- Exception
protected KeyInfo createKeyInfo(XmlSignatureConfig config) throws Exception
config
- Exception
protected SignedInfo createSignedInfo(CanonicalizationMethod cm, SignatureMethod sm, List<Reference> references)
protected XMLSignature createXMLSignature(SignedInfo si, KeyInfo ki)
si
- ki
- protected void transform(Document doc, OutputStream output) throws Exception
doc
- output
- Exception
Copyright © 2006–2018 TinyGroup. All rights reserved.