Class AbstractSignatureScopeFinder
java.lang.Object
eu.europa.esig.dss.spi.validation.scope.AbstractSignatureScopeFinder
- Direct Known Subclasses:
CAdESSignatureScopeFinder
,DetachedTimestampScopeFinder
,EncapsulatedTimestampScopeFinder
,JAdESSignatureScopeFinder
,PdfRevisionScopeFinder
,XAdESSignatureScopeFinder
The abstract class for
SignatureScope
finding-
Constructor Summary
ModifierConstructorDescriptionprotected
Default constructor instantiating the object with default values -
Method Summary
Modifier and TypeMethodDescriptionprotected DSSDocument
createDigestDocument
(Digest digest) Creates aDSSDocument
from givendigest
protected DSSDocument
createInMemoryDocument
(byte[] binaries) Creates aDSSDocument
from givenbinaries
protected boolean
isASiCEArchive
(AdvancedSignature advancedSignature) Checks if the given signature represents an ASiC-E containerprotected boolean
isASiCSArchive
(AdvancedSignature advancedSignature) Checks if the given signature represents an ASiC-S container
-
Constructor Details
-
AbstractSignatureScopeFinder
protected AbstractSignatureScopeFinder()Default constructor instantiating the object with default values
-
-
Method Details
-
isASiCSArchive
Checks if the given signature represents an ASiC-S container- Parameters:
advancedSignature
-AdvancedSignature
to check- Returns:
- TRUE if the signature is ASiC-S, FALSE otherwise
-
isASiCEArchive
Checks if the given signature represents an ASiC-E container- Parameters:
advancedSignature
-AdvancedSignature
to check- Returns:
- TRUE if the signature is ASiC-E, FALSE otherwise
-
createInMemoryDocument
Creates aDSSDocument
from givenbinaries
- Parameters:
binaries
-Digest
to create an in-memory document instance from- Returns:
DSSDocument
-
createDigestDocument
Creates aDSSDocument
from givendigest
- Parameters:
digest
-Digest
to create a digest document instance from- Returns:
DSSDocument
-