Package be.gaudry.model.eid.file
Interface IEidHandler
- All Known Implementing Classes:
EidAbstractHandler
,EidBrolHandlerV1
,EidBrolHandlerV2
,EidFedictHandler
public interface IEidHandler
- Author:
- Steph GAUDRY
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionLoads data from the given file to initialize theVirtualBeID
.void
save(File file, VirtualBeID virtualBeID)
Exports the virtual BEID to the given XML-file.
-
Field Details
-
CERT_STATUS_NOT_VALIDATED
- See Also:
- Constant Field Values
-
DEFAULT_CIPHER_KEY
- See Also:
- Constant Field Values
-
DEFAULT_ALGORITHM
- See Also:
- Constant Field Values
-
-
Method Details
-
save
Exports the virtual BEID to the given XML-file.- Parameters:
file
- Where to save the informationsvirtualBeID
-- Throws:
IOException
-
load
Loads data from the given file to initialize theVirtualBeID
.- Parameters:
file
- is the file to read- Returns:
- a
VirtualBeID
object containing all the BeID card data - Throws:
ParseException
- when the dates couldn't be parsed correctlyorg.dom4j.DocumentException
- when the document isn't well-formed
-