Class DetachedSignatureResolver
java.lang.Object
org.apache.xml.security.utils.resolver.ResourceResolverSpi
eu.europa.esig.dss.xades.validation.DetachedSignatureResolver
public class DetachedSignatureResolver
extends org.apache.xml.security.utils.resolver.ResourceResolverSpi
Resolver for detached signature only.
The reference URI must be null or refer a specific file.
-
Constructor Summary
ConstructorDescriptionDetachedSignatureResolver
(List<DSSDocument> documents, DigestAlgorithm digestAlgorithm) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
engineCanResolveURI
(org.apache.xml.security.utils.resolver.ResourceResolverContext context) org.apache.xml.security.signature.XMLSignatureInput
engineResolveURI
(org.apache.xml.security.utils.resolver.ResourceResolverContext context)
-
Constructor Details
-
DetachedSignatureResolver
Default constructor- Parameters:
documents
- a list ofDSSDocument
detached documentsdigestAlgorithm
-DigestAlgorithm
-
-
Method Details
-
engineResolveURI
public org.apache.xml.security.signature.XMLSignatureInput engineResolveURI(org.apache.xml.security.utils.resolver.ResourceResolverContext context) throws org.apache.xml.security.utils.resolver.ResourceResolverException - Specified by:
engineResolveURI
in classorg.apache.xml.security.utils.resolver.ResourceResolverSpi
- Throws:
org.apache.xml.security.utils.resolver.ResourceResolverException
-
engineCanResolveURI
public boolean engineCanResolveURI(org.apache.xml.security.utils.resolver.ResourceResolverContext context) - Specified by:
engineCanResolveURI
in classorg.apache.xml.security.utils.resolver.ResourceResolverSpi
-