Class JAdESSignatureScopeFinder
java.lang.Object
eu.europa.esig.dss.spi.validation.scope.AbstractSignatureScopeFinder
eu.europa.esig.dss.jades.validation.scope.JAdESSignatureScopeFinder
- All Implemented Interfaces:
SignatureScopeFinder<JAdESSignature>
public class JAdESSignatureScopeFinder
extends AbstractSignatureScopeFinder
implements SignatureScopeFinder<JAdESSignature>
Finds a SignatureScope for a JAdES signature
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindSignatureScope
(JAdESSignature jadesSignature) Returns a list ofSignatureScope
s from a signatureprotected List
<DSSDocument> getOriginalDocuments
(JAdESSignature jadesSignature) Returns original documents for the given JAdES signatureprotected SignatureScope
getSignatureScopeFromOriginalDocument
(DSSDocument originalDocument) Returns aSignatureScope
for the givenoriginalDocument
protected List
<SignatureScope> getSignatureScopeFromOriginalDocuments
(List<DSSDocument> originalDocuments) Extracts a SignatureScope list from a list of original documentsMethods inherited from class eu.europa.esig.dss.spi.validation.scope.AbstractSignatureScopeFinder
createDigestDocument, createInMemoryDocument, isASiCEArchive, isASiCSArchive
-
Constructor Details
-
JAdESSignatureScopeFinder
public JAdESSignatureScopeFinder()Default constructor
-
-
Method Details
-
findSignatureScope
Description copied from interface:SignatureScopeFinder
Returns a list ofSignatureScope
s from a signature- Specified by:
findSignatureScope
in interfaceSignatureScopeFinder<JAdESSignature>
- Parameters:
jadesSignature
-AdvancedSignature
to get signatureScopes for- Returns:
- a list of
SignatureScope
s
-
getOriginalDocuments
Returns original documents for the given JAdES signature- Parameters:
jadesSignature
-JAdESSignature
to get original document for- Returns:
- a list of
DSSDocument
s original document
-
getSignatureScopeFromOriginalDocument
Returns aSignatureScope
for the givenoriginalDocument
- Parameters:
originalDocument
-DSSDocument
to get a SignatureScope for- Returns:
SignatureScope
-
getSignatureScopeFromOriginalDocuments
protected List<SignatureScope> getSignatureScopeFromOriginalDocuments(List<DSSDocument> originalDocuments) Extracts a SignatureScope list from a list of original documents- Parameters:
originalDocuments
- a list ofDSSDocument
original documents- Returns:
- a list of
SignatureScope
s
-