Class ASiCWithXAdESCounterSignatureHelper
java.lang.Object
eu.europa.esig.dss.asic.common.signature.ASiCCounterSignatureHelper
eu.europa.esig.dss.asic.xades.signature.ASiCWithXAdESCounterSignatureHelper
The class contains useful methods for ASiC with XAdES counter signature creation
-
Field Summary
Fields inherited from class eu.europa.esig.dss.asic.common.signature.ASiCCounterSignatureHelper
asicContainer
-
Constructor Summary
ModifierConstructorDescriptionprotected
ASiCWithXAdESCounterSignatureHelper
(DSSDocument asicContainer) The default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractASiCContainerExtractor
Gets an ASiC container extractor relative to the current implementationprotected List<DSSDocument>
getDetachedDocuments
(String signatureFilename) Returns a list if detached documents for a signature with a given filenameprotected DocumentValidator
getDocumentValidator
(DSSDocument signatureDocument) Gets a Document Validator relative to the current implementationMethods inherited from class eu.europa.esig.dss.asic.common.signature.ASiCCounterSignatureHelper
checkCounterSignaturePossible, extractSignatureDocument, getAsicContent, getManifestFile
-
Constructor Details
-
ASiCWithXAdESCounterSignatureHelper
The default constructor- Parameters:
asicContainer
-DSSDocument
representing an ASiC with CAdES container
-
-
Method Details
-
getASiCContainerExtractor
Description copied from class:ASiCCounterSignatureHelper
Gets an ASiC container extractor relative to the current implementation- Specified by:
getASiCContainerExtractor
in classASiCCounterSignatureHelper
- Returns:
AbstractASiCContainerExtractor
-
getDocumentValidator
Description copied from class:ASiCCounterSignatureHelper
Gets a Document Validator relative to the current implementation- Specified by:
getDocumentValidator
in classASiCCounterSignatureHelper
- Parameters:
signatureDocument
-DSSDocument
- Returns:
DocumentValidator
-
getDetachedDocuments
Description copied from class:ASiCCounterSignatureHelper
Returns a list if detached documents for a signature with a given filename- Specified by:
getDetachedDocuments
in classASiCCounterSignatureHelper
- Parameters:
signatureFilename
-String
a signature filename- Returns:
- a list of
DSSDocument
s
-