@Internal public interface SignatureFacet
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MS_DIGSIG_NS |
static java.lang.String |
OO_DIGSIG_NS |
static java.lang.String |
XADES_132_NS |
static java.lang.String |
XADES_141_NS |
static java.lang.String |
XML_DIGSIG_NS |
static java.lang.String |
XML_NS |
Modifier and Type | Method and Description |
---|---|
default void |
postSign(SignatureInfo signatureInfo, org.w3c.dom.Document document)
This method is being invoked by the XML signature service engine during the post-sign phase.
(XML 签名服务引擎在签名后阶段调用此方法。)
|
default void |
preSign(SignatureInfo signatureInfo, org.w3c.dom.Document document, java.util.List<javax.xml.crypto.dsig.Reference> references, java.util.List<javax.xml.crypto.dsig.XMLObject> objects)
This method is being invoked by the XML signature service engine during pre-sign phase.
(XML 签名服务引擎在预签名阶段调用此方法。)
|
static final java.lang.String XML_NS
static final java.lang.String XML_DIGSIG_NS
static final java.lang.String OO_DIGSIG_NS
static final java.lang.String MS_DIGSIG_NS
static final java.lang.String XADES_132_NS
static final java.lang.String XADES_141_NS
default void preSign(SignatureInfo signatureInfo, org.w3c.dom.Document document, java.util.List<javax.xml.crypto.dsig.Reference> references, java.util.List<javax.xml.crypto.dsig.XMLObject> objects) throws javax.xml.crypto.dsig.XMLSignatureException
signatureInfo
- the signature info object holding the OPCPackage and other document related data
(signatureInfo - 包含 OPCPackage 和其他文档相关数据的签名信息对象)
document
- the signature document to be used for imports
(document - 用于进口的签名文件)
references
- list of reference definitions
(参考 - 参考定义列表)
objects
- objects to be signed/included in the signature document
(objects - 要签名/包含在签名文档中的对象)
javax.xml.crypto.dsig.XMLSignatureException
(javax.xml.crypto.dsig.XMLSignatureException)
default void postSign(SignatureInfo signatureInfo, org.w3c.dom.Document document) throws javax.xml.crypto.MarshalException
signatureInfo
- the signature info object holding the OPCPackage and other document related data
(signatureInfo - 包含 OPCPackage 和其他文档相关数据的签名信息对象)
document
- the signature document to be modified
(document - 要修改的签名文档)
javax.xml.crypto.MarshalException
(javax.xml.crypto.MarshalException)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.