portachiavi
Class Portachiavi
java.lang.Object
portachiavi.Portachiavi
- All Implemented Interfaces:
- Serializable, IPortachiavi
public class Portachiavi
- extends Object
- implements Serializable, IPortachiavi
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Portachiavi
public Portachiavi()
- Costruttore
addEntry
public boolean addEntry(String id,
ILoginData auth)
- Specified by:
addEntry
in interface IPortachiavi
- Returns:
export2TextFile
public void export2TextFile(File textFile)
throws IOException
- Specified by:
export2TextFile
in interface IPortachiavi
- Throws:
IOException
getEntryList
public Set<String> getEntryList()
- Specified by:
getEntryList
in interface IPortachiavi
- Returns:
getList
public HashMap<String,ILoginData> getList()
- Specified by:
getList
in interface IPortachiavi
- Returns:
loadList
public void loadList(char[] password,
File objFile,
File keyFile)
throws IOException,
ClassNotFoundException,
InvalidKeyException,
NoSuchAlgorithmException,
KeyLoadingException
- Specified by:
loadList
in interface IPortachiavi
- Throws:
IOException
ClassNotFoundException
InvalidKeyException
NoSuchAlgorithmException
KeyLoadingException
removeEntry
public void removeEntry(String id)
throws EntryNotFoundException
- Specified by:
removeEntry
in interface IPortachiavi
- Throws:
EntryNotFoundException
saveList
public void saveList(char[] password,
File objFile,
File keyFile)
throws NoSuchAlgorithmException,
NoSuchPaddingException,
InvalidKeyException,
IllegalBlockSizeException,
IOException,
KeySavingException
- Specified by:
saveList
in interface IPortachiavi
- Throws:
NoSuchAlgorithmException
NoSuchPaddingException
InvalidKeyException
IllegalBlockSizeException
IOException
KeySavingException
searchEntry
public ILoginData searchEntry(String id)
throws EntryNotFoundException
- Specified by:
searchEntry
in interface IPortachiavi
- Returns:
-
- Throws:
EntryNotFoundException