Class CAdESSignatureScopeFinder
java.lang.Object
eu.europa.esig.dss.validation.scope.AbstractSignatureScopeFinder<CAdESSignature>
eu.europa.esig.dss.cades.validation.scope.CAdESSignatureScopeFinder
- All Implemented Interfaces:
SignatureScopeFinder<CAdESSignature>
- Direct Known Subclasses:
ASiCWithCAdESSignatureScopeFinder
public class CAdESSignatureScopeFinder extends AbstractSignatureScopeFinder<CAdESSignature>
Finds
SignatureScope
s for a CAdES signature-
Constructor Summary
Constructors Constructor Description CAdESSignatureScopeFinder()
-
Method Summary
Modifier and Type Method Description List<SignatureScope>
findSignatureScope(CAdESSignature cadesSignature)
Returns a list ofSignatureScope
s from a signatureprotected DSSDocument
getOriginalDocument(CAdESSignature cadesSignature)
Returns original document for the given CAdES signatureprotected List<SignatureScope>
getSignatureScopeFromOriginalDocument(CAdESSignature cadesSignature, DSSDocument originalDocument)
Returns a list ofSignatureScope
s from the signed documentprotected List<SignatureScope>
getSignatureScopeFromReferenceValidation(ReferenceValidation reference)
Gets a list ofSignatureScope
s from aReferenceValidation
Methods inherited from class eu.europa.esig.dss.validation.scope.AbstractSignatureScopeFinder
getDefaultDigestAlgorithm, getDigest, getDigest, isASiCEArchive, isASiCSArchive, setDefaultDigestAlgorithm
-
Constructor Details
-
CAdESSignatureScopeFinder
public CAdESSignatureScopeFinder()
-
-
Method Details
-
findSignatureScope
Description copied from interface:SignatureScopeFinder
Returns a list ofSignatureScope
s from a signature- Parameters:
cadesSignature
-AdvancedSignature
to get signatureScopes for- Returns:
- a list of
SignatureScope
s
-
getSignatureScopeFromOriginalDocument
protected List<SignatureScope> getSignatureScopeFromOriginalDocument(CAdESSignature cadesSignature, DSSDocument originalDocument)Returns a list ofSignatureScope
s from the signed document- Parameters:
cadesSignature
-CAdESSignature
originalDocument
-DSSDocument
- Returns:
- a list of
SignatureScope
s
-
getSignatureScopeFromReferenceValidation
protected List<SignatureScope> getSignatureScopeFromReferenceValidation(ReferenceValidation reference)Gets a list ofSignatureScope
s from aReferenceValidation
- Parameters:
reference
-ReferenceValidation
to get SignatureScope from- Returns:
- a list of
SignatureScope
s
-
getOriginalDocument
Returns original document for the given CAdES signature- Parameters:
cadesSignature
-CAdESSignature
to get original document for- Returns:
DSSDocument
original document
-