Class OOXMLSignatureFacet

java.lang.Object
org.apache.poi.poifs.crypt.dsig.facets.OOXMLSignatureFacet
All Implemented Interfaces:
SignatureFacet

public class OOXMLSignatureFacet extends Object implements SignatureFacet
Office OpenXML Signature Facet implementation.
See Also:
  • Constructor Details

    • OOXMLSignatureFacet

      public OOXMLSignatureFacet()
  • Method Details

    • preSign

      public void preSign(SignatureInfo signatureInfo, Document document, List<Reference> references, List<XMLObject> objects) throws XMLSignatureException
      Description copied from interface: SignatureFacet
      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.
      Specified by:
      preSign in interface SignatureFacet
      Parameters:
      signatureInfo - the signature info object holding the OPCPackage and other document related data
      document - the signature document to be used for imports
      references - list of reference definitions
      objects - objects to be signed/included in the signature document
      Throws:
      XMLSignatureException