Class EnvelopedSignatureFacet

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

public class EnvelopedSignatureFacet extends SignatureFacet
Signature Facet implementation to create enveloped signatures.
Author:
Frank Cornelis
  • Constructor Details

    • EnvelopedSignatureFacet

      public EnvelopedSignatureFacet()
  • Method Details

    • preSign

      public void preSign(Document document, List<Reference> references, List<XMLObject> objects) throws XMLSignatureException
      Description copied from class: 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.
      Overrides:
      preSign in class SignatureFacet
      Parameters:
      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