Class Office2010SignatureFacet

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

public class Office2010SignatureFacet extends SignatureFacet
Work-around for Office2010 to accept the XAdES-BES/EPES signature. xades:UnsignedProperties/xades:UnsignedSignatureProperties needs to be present.
Author:
Frank Cornelis
  • Constructor Details

    • Office2010SignatureFacet

      public Office2010SignatureFacet()
  • Method Details

    • postSign

      public void postSign(Document document) throws MarshalException
      Description copied from class: SignatureFacet
      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.
      Overrides:
      postSign in class SignatureFacet
      Parameters:
      document - the signature document to be modified
      Throws:
      MarshalException