Class ASiCWithCAdESDocumentExtenderFactory
java.lang.Object
eu.europa.esig.dss.asic.cades.extension.ASiCWithCAdESDocumentExtenderFactory
- All Implemented Interfaces:
SignedDocumentExtenderFactory
public class ASiCWithCAdESDocumentExtenderFactory
extends Object
implements SignedDocumentExtenderFactory
This class is used to check and load a corresponding
DocumentExtender implementation
for a CAdES signature or signatures augmentation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(DSSDocument document) This method instantiates aSignedDocumentExtenderwith the given documentbooleanisSupported(DSSDocument document) This method tests if the current implementation ofSignedDocumentExtendersupports the given document
-
Constructor Details
-
ASiCWithCAdESDocumentExtenderFactory
public ASiCWithCAdESDocumentExtenderFactory()Default constructor
-
-
Method Details
-
isSupported
Description copied from interface:SignedDocumentExtenderFactoryThis method tests if the current implementation ofSignedDocumentExtendersupports the given document- Specified by:
isSupportedin interfaceSignedDocumentExtenderFactory- Parameters:
document- the document to be tested- Returns:
- true, if the
SignedDocumentExtendersupports the given document
-
create
Description copied from interface:SignedDocumentExtenderFactoryThis method instantiates aSignedDocumentExtenderwith the given document- Specified by:
createin interfaceSignedDocumentExtenderFactory- Parameters:
document- the document to be used for theSignedDocumentExtendercreation- Returns:
- an instance of
SignedDocumentExtenderwith the document
-