public abstract class EnvelopedSignatureContextProvider extends Object implements SignatureContextProvider
| Modifier and Type | Field and Description |
|---|---|
protected Document |
document |
protected String |
elementPath |
protected Element |
referencedElement |
| Modifier | Constructor and Description |
|---|---|
protected |
EnvelopedSignatureContextProvider(XmlSignDigestAlgorithm digestAlgorithm,
Document document,
String elementPath) |
| Modifier and Type | Method and Description |
|---|---|
protected static SignatureContextProvider |
contextProviderForElementPath(XmlSignDigestAlgorithm digestAlgorithm,
Document document,
String elementPath)
Selects a
SignatureContextProvider for the ENVELOPED signature case, depending if the elementPath is
configured. |
Reference |
getReference() |
protected abstract Element |
getReferencedElement()
|
List<XMLObject> |
getReferencedObjects() |
protected abstract String |
getReferencedURI()
Gets the URI of the referenced element.
|
Node |
getSignatureParentNode() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateContextFor, postProcess, preProcessprotected Element referencedElement
protected Document document
protected String elementPath
protected EnvelopedSignatureContextProvider(XmlSignDigestAlgorithm digestAlgorithm, Document document, String elementPath)
public Reference getReference()
getReference in interface SignatureContextProviderpublic List<XMLObject> getReferencedObjects()
getReferencedObjects in interface SignatureContextProviderpublic Node getSignatureParentNode()
getSignatureParentNode in interface SignatureContextProviderprotected abstract Element getReferencedElement()
Element whose signature this context corresponds.protected abstract String getReferencedURI()
protected static SignatureContextProvider contextProviderForElementPath(XmlSignDigestAlgorithm digestAlgorithm, Document document, String elementPath)
SignatureContextProvider for the ENVELOPED signature case, depending if the elementPath is
configured.digestAlgorithm - document - elementPath - SignatureContextProviderCopyright © 2025 MuleSoft, Inc.. All rights reserved.