Class OOXMLSignatureFacet

    • Constructor Detail

      • OOXMLSignatureFacet

        public OOXMLSignatureFacet()
    • Method Detail

      • preSign

        public void preSign​(org.w3c.dom.Document document,
                            java.util.List<javax.xml.crypto.dsig.Reference> references,
                            java.util.List<javax.xml.crypto.dsig.XMLObject> objects)
                     throws javax.xml.crypto.dsig.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:
        javax.xml.crypto.dsig.XMLSignatureException