Class Office2010SignatureFacet

  • All Implemented Interfaces:
    SignatureFacet

    public class Office2010SignatureFacet
    extends java.lang.Object
    implements SignatureFacet
    Work-around for Office2010 to accept the XAdES-BES/EPES signature. xades:UnsignedProperties/xades:UnsignedSignatureProperties needs to be present.
    • Constructor Detail

      • Office2010SignatureFacet

        public Office2010SignatureFacet()
    • Method Detail

      • postSign

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