Class KeyInfoSignatureFacet

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

public class KeyInfoSignatureFacet extends Object implements SignatureFacet
Signature Facet implementation that adds ds:KeyInfo to the XML signature.
  • Constructor Details

    • KeyInfoSignatureFacet

      public KeyInfoSignatureFacet()
  • Method Details

    • postSign

      public void postSign(SignatureInfo signatureInfo, Document document) throws MarshalException
      Description copied from interface: 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.
      Specified by:
      postSign in interface SignatureFacet
      Parameters:
      signatureInfo - the signature info object holding the OPCPackage and other document related data
      document - the signature document to be modified
      Throws:
      MarshalException