Class XAdESXLSignatureFacet
java.lang.Object
org.apache.poi.poifs.crypt.dsig.facets.XAdESXLSignatureFacet
- All Implemented Interfaces:
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:
-
Field Summary
Fields inherited from interface org.apache.poi.poifs.crypt.dsig.facets.SignatureFacet
MS_DIGSIG_NS, OO_DIGSIG_NS, XADES_132_NS, XADES_141_NS, XML_DIGSIG_NS, XML_NS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpostSign(SignatureInfo signatureInfo, Document document) This method is being invoked by the XML signature service engine during the post-sign phase.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.poi.poifs.crypt.dsig.facets.SignatureFacet
preSign
-
Constructor Details
-
XAdESXLSignatureFacet
public XAdESXLSignatureFacet()
-
-
Method Details
-
postSign
Description copied from interface:SignatureFacetThis 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:
postSignin interfaceSignatureFacet- Parameters:
signatureInfo- the signature info object holding the OPCPackage and other document related datadocument- the signature document to be modified- Throws:
MarshalException
-