portachiavi
Interface IPortachiavi

All Known Implementing Classes:
Portachiavi

public interface IPortachiavi


Method Summary
 boolean addEntry(String id, ILoginData auth)
           
 void export2TextFile(File textFile)
           
 Set<String> getEntryList()
           
 HashMap<String,ILoginData> getList()
           
 void loadList(char[] password, File objFile, File keyFile)
           
 void removeEntry(String id)
           
 void saveList(char[] password, File objFile, File keyFile)
           
 ILoginData searchEntry(String id)
           
 

Method Detail

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