public class EnvelopedSignatureFacet extends SignatureFacet
MS_DIGSIG_NS, OO_DIGSIG_NS, signatureConfig, XADES_132_NS, XADES_141_NS, XML_DIGSIG_NS, XML_NS
Constructor and Description |
---|
EnvelopedSignatureFacet() |
Modifier and Type | Method and Description |
---|---|
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)
This method is being invoked by the XML signature service engine during
pre-sign phase.
|
getSignatureFactory, newReference, newReference, newTransform, newTransform, postSign, setSignatureConfig
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
SignatureFacet
preSign
in class SignatureFacet
document
- the signature document to be used for importsreferences
- list of reference definitionsobjects
- objects to be signed/included in the signature documentjavax.xml.crypto.dsig.XMLSignatureException
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.