Class KeyInfoSignatureFacet
- java.lang.Object
-
- org.apache.poi.poifs.crypt.dsig.facets.SignatureFacet
-
- org.apache.poi.poifs.crypt.dsig.facets.KeyInfoSignatureFacet
-
- All Implemented Interfaces:
SignatureConfig.SignatureConfigurable
public class KeyInfoSignatureFacet extends SignatureFacet
Signature Facet implementation that adds ds:KeyInfo to the XML signature.
-
-
Field Summary
-
Fields inherited from class 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 Constructor Description KeyInfoSignatureFacet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
postSign(org.w3c.dom.Document document)
This method is being invoked by the XML signature service engine during the post-sign phase.-
Methods inherited from class org.apache.poi.poifs.crypt.dsig.facets.SignatureFacet
newReference, preSign, setSignatureConfig
-
-
-
-
Method Detail
-
postSign
public void postSign(org.w3c.dom.Document document) throws javax.xml.crypto.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 classSignatureFacet
- Parameters:
document
- the signature document to be modified- Throws:
javax.xml.crypto.MarshalException
-
-