@Internal public interface SignatureFacet
Modifier and Type | Field and Description |
---|---|
static String |
MS_DIGSIG_NS |
static String |
OO_DIGSIG_NS |
static String |
XADES_132_NS |
static String |
XADES_141_NS |
static String |
XML_DIGSIG_NS |
static String |
XML_NS |
Modifier and Type | Method and Description |
---|---|
default void |
postSign(SignatureInfo signatureInfo,
Document document)
This method is being invoked by the XML signature service engine during
the post-sign phase.
|
default void |
preSign(SignatureInfo signatureInfo,
Document document,
List<Reference> references,
List<XMLObject> objects)
This method is being invoked by the XML signature service engine during
pre-sign phase.
|
static final String XML_NS
static final String XML_DIGSIG_NS
static final String OO_DIGSIG_NS
static final String MS_DIGSIG_NS
static final String XADES_132_NS
static final String XADES_141_NS
default void preSign(SignatureInfo signatureInfo, Document document, List<Reference> references, List<XMLObject> objects) throws 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 documentXMLSignatureException
default void postSign(SignatureInfo signatureInfo, Document document) throws MarshalException
signatureInfo
- the signature info object holding the OPCPackage and other document related datadocument
- the signature document to be modifiedMarshalException