portachiavi
Interface IPortachiavi
- All Known Implementing Classes:
- Portachiavi
public interface IPortachiavi
addEntry
boolean addEntry(String id,
ILoginData auth)
- Parameters:
id
- auth
-
- Returns:
export2TextFile
void export2TextFile(File textFile)
throws IOException
- Parameters:
textFile
-
- Throws:
IOException
getEntryList
Set<String> getEntryList()
- Returns:
getList
HashMap<String,ILoginData> getList()
- Returns:
loadList
void loadList(char[] password,
File objFile,
File keyFile)
throws IOException,
ClassNotFoundException,
InvalidKeyException,
NoSuchAlgorithmException,
KeyLoadingException
- Parameters:
password
- objFile
- keyFile
-
- Throws:
IOException
ClassNotFoundException
InvalidKeyException
NoSuchAlgorithmException
KeyLoadingException
removeEntry
void removeEntry(String id)
throws EntryNotFoundException
- Parameters:
id
-
- Throws:
EntryNotFoundException
saveList
void saveList(char[] password,
File objFile,
File keyFile)
throws NoSuchAlgorithmException,
NoSuchPaddingException,
InvalidKeyException,
IllegalBlockSizeException,
IOException,
KeySavingException
- Parameters:
password
- objFile
- keyFile
-
- Throws:
NoSuchAlgorithmException
NoSuchPaddingException
InvalidKeyException
IllegalBlockSizeException
IOException
KeySavingException
searchEntry
ILoginData searchEntry(String id)
throws EntryNotFoundException
- Parameters:
id
-
- Returns:
-
- Throws:
EntryNotFoundException