Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.poi.poifs.crypt.dsig.facets
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

Field Summary

Fields inherited from class org.apache.poi.poifs.crypt.dsig.facets.SignatureFacet
`MS_DIGSIG_NS, OO_DIGSIG_NS, signatureConfig, XADES_132_NS, XADES_141_NS, XML_DIGSIG_NS, XML_NS`

Constructor Summary
`Office2010SignatureFacet()`

Method Summary
`void` | `postSign(org.w3c.dom.Document document)` This method is being invoked by the XML signature service engine during the post-sign phase.

Methods inherited from class org.apache.poi.poifs.crypt.dsig.facets.SignatureFacet
`brokenJvmWorkaround, getSignatureFactory, newReference, newReference, newTransform, newTransform, preSign, setSignatureConfig`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Office2010SignatureFacet

    public Office2010SignatureFacet()

Method Detail

### postSign

    public void postSign(org.w3c.dom.Document document)
                  throws javax.xml.crypto.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:
    `javax.xml.crypto.MarshalException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2017 The Apache Software Foundation or its licensors, as applicable.