Class ASiCWithXAdESContainerExtractor
java.lang.Object
eu.europa.esig.dss.asic.common.extract.DefaultASiCContainerExtractor
eu.europa.esig.dss.asic.xades.extract.ASiCWithXAdESContainerExtractor
- All Implemented Interfaces:
ASiCContainerExtractor
The class is used to extract the content (documents) embedded into an ASiC with XAdES 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
isAllowedEvidenceRecord
(String entryName) Checks if the givenString
file name represents an allowed evidence record document name for the current ASiC container formatprotected boolean
isAllowedEvidenceRecordManifest
(String entryName) Checks if the givenString
file name represents an allowed evidence record 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.extract.DefaultASiCContainerExtractor
extract, fromDocument
-
Constructor Details
-
ASiCWithXAdESContainerExtractor
The default constructor- Parameters:
archive
-DSSDocument
representing the container
-
-
Method Details
-
isAllowedManifest
Description copied from class:DefaultASiCContainerExtractor
Checks if the givenString
file name represents an allowed manifest name for the current ASiC container format- Specified by:
isAllowedManifest
in classDefaultASiCContainerExtractor
- 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:DefaultASiCContainerExtractor
Checks if the givenString
file name represents an allowed archive manifest name for the current ASiC container format- Specified by:
isAllowedArchiveManifest
in classDefaultASiCContainerExtractor
- Parameters:
entryName
-String
document name to check- Returns:
- TRUE if the name represents an allowed archive manifest document name, FALSE otherwise
-
isAllowedEvidenceRecordManifest
Description copied from class:DefaultASiCContainerExtractor
Checks if the givenString
file name represents an allowed evidence record manifest name for the current ASiC container format- Specified by:
isAllowedEvidenceRecordManifest
in classDefaultASiCContainerExtractor
- Parameters:
entryName
-String
document name to check- Returns:
- TRUE if the name represents an allowed evidence record manifest document name, FALSE otherwise
-
isAllowedSignature
Description copied from class:DefaultASiCContainerExtractor
Checks if the givenString
file name represents an allowed signature document name for the current ASiC container format- Specified by:
isAllowedSignature
in classDefaultASiCContainerExtractor
- Parameters:
entryName
-String
document name to check- Returns:
- TRUE if the name represents an allowed signature document name, FALSE otherwise
-
isAllowedTimestamp
Description copied from class:DefaultASiCContainerExtractor
Checks if the givenString
file name represents an allowed timestamp document name for the current ASiC container format- Specified by:
isAllowedTimestamp
in classDefaultASiCContainerExtractor
- Parameters:
entryName
-String
document name to check- Returns:
- TRUE if the name represents an allowed timestamp document name, FALSE otherwise
-
isAllowedEvidenceRecord
Description copied from class:DefaultASiCContainerExtractor
Checks if the givenString
file name represents an allowed evidence record document name for the current ASiC container format- Specified by:
isAllowedEvidenceRecord
in classDefaultASiCContainerExtractor
- Parameters:
entryName
-String
document name to check- Returns:
- TRUE if the name represents an allowed evidence record document name, FALSE otherwise
-