Class XAdESXLSignatureFacet

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

public class XAdESXLSignatureFacet extends 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. 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. This implementation has been tested against an implementation that participated multiple ETSI XAdES plugtests.
Author:
Frank Cornelis
See Also:
  • Constructor Details

    • XAdESXLSignatureFacet

      public XAdESXLSignatureFacet()
  • Method Details

    • postSign

      public void postSign(Document document) throws 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:
      MarshalException
    • getC14nValue

      public static byte[] getC14nValue(List<Node> nodeList, String c14nAlgoId)