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
ConstructorsModifierConstructorDescriptionprotectedDefault constructor instantiating the object with default values -
Method Summary
Modifier and TypeMethodDescriptionprotected DSSDocumentcreateDigestDocument(Digest digest) Creates aDSSDocumentfrom givendigestprotected DSSDocumentcreateInMemoryDocument(byte[] binaries) Creates aDSSDocumentfrom givenbinariesprotected booleanisASiCEArchive(AdvancedSignature advancedSignature) Checks if the given signature represents an ASiC-E containerprotected booleanisASiCSArchive(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-AdvancedSignatureto check- Returns:
- TRUE if the signature is ASiC-S, FALSE otherwise
-
isASiCEArchive
Checks if the given signature represents an ASiC-E container- Parameters:
advancedSignature-AdvancedSignatureto check- Returns:
- TRUE if the signature is ASiC-E, FALSE otherwise
-
createInMemoryDocument
Creates aDSSDocumentfrom givenbinaries- Parameters:
binaries-Digestto create an in-memory document instance from- Returns:
DSSDocument
-
createDigestDocument
Creates aDSSDocumentfrom givendigest- Parameters:
digest-Digestto create a digest document instance from- Returns:
DSSDocument
-