Class XAdESXLSignatureFacet

  • All Implemented Interfaces:
    SignatureFacet

    public class XAdESXLSignatureFacet
    extends java.lang.Object
    implements SignatureFacet
    XAdES-X-L v1.4.1 signature facet. This signature facet implementation will upgrade a given XAdES-BES/EPES signature to XAdES-X-L. If no revocation data service is set, only a XAdES-T signature is created. We don't inherit from XAdESSignatureFacet as we also want to be able to use this facet out of the context of a signature creation. This signature facet assumes that the signature is already XAdES-BES/EPES compliant.
    See Also:
    XAdESSignatureFacet
    • Constructor Detail

      • XAdESXLSignatureFacet

        public XAdESXLSignatureFacet()
    • 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