Interface SignatureFacet
- All Known Implementing Classes:
EnvelopedSignatureFacet
,KeyInfoSignatureFacet
,Office2010SignatureFacet
,OOXMLSignatureFacet
,XAdESSignatureFacet
,XAdESXLSignatureFacet
JSR105 Signature Facet base class.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault 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.
-
Field Details
-
XML_NS
- See Also:
-
XML_DIGSIG_NS
- See Also:
-
OO_DIGSIG_NS
- See Also:
-
MS_DIGSIG_NS
- See Also:
-
XADES_132_NS
- See Also:
-
XADES_141_NS
- See Also:
-
-
Method Details
-
preSign
default void preSign(SignatureInfo signatureInfo, Document document, List<Reference> references, List<XMLObject> objects) throws XMLSignatureException This method is being invoked by the XML signature service engine during pre-sign phase. Via this method a signature facet implementation can add signature facets to an XML signature.- Parameters:
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 document- Throws:
XMLSignatureException
-
postSign
This method is being invoked by the XML signature service engine during the post-sign phase. Via this method a signature facet can extend the XML signatures with for example key information.- Parameters:
signatureInfo
- the signature info object holding the OPCPackage and other document related datadocument
- the signature document to be modified- Throws:
MarshalException
-