Package eu.europa.esig.dss.asic.cades
Class ASiCWithCAdESContainerExtractor
java.lang.Object
eu.europa.esig.dss.asic.common.AbstractASiCContainerExtractor
eu.europa.esig.dss.asic.cades.ASiCWithCAdESContainerExtractor
The class is used to extract the content (documents) embedded into an ASiC with CAdES container
-
Constructor Summary
ConstructorDescriptionThe default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isAllowedArchiveManifest
(String entryName) Checks if the givenString
file name represents an allowed archive manifest name for the current ASiC container formatprotected boolean
isAllowedManifest
(String entryName) Checks if the givenString
file name represents an allowed manifest name for the current ASiC container formatprotected boolean
isAllowedSignature
(String entryName) Checks if the givenString
file name represents an allowed signature document name for the current ASiC container formatprotected boolean
isAllowedTimestamp
(String entryName) Checks if the givenString
file name represents an allowed timestamp document name for the current ASiC container formatMethods inherited from class eu.europa.esig.dss.asic.common.AbstractASiCContainerExtractor
extract
-
Constructor Details
-
ASiCWithCAdESContainerExtractor
The default constructor- Parameters:
archive
-DSSDocument
representing an ASiC with CAdES container
-
-
Method Details
-
isAllowedManifest
Description copied from class:AbstractASiCContainerExtractor
Checks if the givenString
file name represents an allowed manifest name for the current ASiC container format- Specified by:
isAllowedManifest
in classAbstractASiCContainerExtractor
- Parameters:
entryName
-String
document name to check- Returns:
- TRUE if the name represents an allowed manifest document name, FALSE otherwise
-
isAllowedArchiveManifest
Description copied from class:AbstractASiCContainerExtractor
Checks if the givenString
file name represents an allowed archive manifest name for the current ASiC container format- Specified by:
isAllowedArchiveManifest
in classAbstractASiCContainerExtractor
- Parameters:
entryName
-String
document name to check- Returns:
- TRUE if the name represents an allowed archive manifest document name, FALSE otherwise
-
isAllowedTimestamp
Description copied from class:AbstractASiCContainerExtractor
Checks if the givenString
file name represents an allowed timestamp document name for the current ASiC container format- Specified by:
isAllowedTimestamp
in classAbstractASiCContainerExtractor
- Parameters:
entryName
-String
document name to check- Returns:
- TRUE if the name represents an allowed timestamp document name, FALSE otherwise
-
isAllowedSignature
Description copied from class:AbstractASiCContainerExtractor
Checks if the givenString
file name represents an allowed signature document name for the current ASiC container format- Specified by:
isAllowedSignature
in classAbstractASiCContainerExtractor
- Parameters:
entryName
-String
document name to check- Returns:
- TRUE if the name represents an allowed signature document name, FALSE otherwise
-