@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.
|
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.
|
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 datadocument
- the signature document to be used for importsreferences
- list of reference definitionsobjects
- objects to be signed/included in the signature documentjavax.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 datadocument
- the signature document to be modifiedjavax.xml.crypto.MarshalException
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.